Simple button.
Major button:
<= Submit $mol_button_major
click? <=> submit? null
title <= submit_label @ \Submit form
Minor button with custom content (icon and title):
<= Submit $mol_button_minor
click? <=> submit? null
sub /
<= Submit_icon $mol_icon_cursor_default_click
<= submit_label @ \Submit form
$mol_button_major - Call-To-Action button
$mol_button_minor - Generic button
$mol_button_copy - Copy text()
value to clipboard
$mol_button_download - Download file from uri()
or a blob()
$mol_button_open - File open button
$mol_button_share - Share title()
and uri()
to other app
$mol_button_typed - Button with basic styles for buttons
enabled() : boolean
The button can only be pressed when it is enabled.
click( next? : Event ) : Event
Stores last event when button activated. Overload this property to do your action instead.