- Index
- »
- fan.domkit
- »
- Button
Button
@Js
class Button : Elem
Button is a widget that invokes an action when pressed.
See also: docDomkit, ToggleButton, ListButton
Callback when button action is invoked
Programmatically open popup, or do nothing if no popup defined
Callback to create Popup to display when button is pressed
virtual Bool? : enabled
new make()
Void onAction(|This| f)
Callback when button action is invoked.
Void onPopup(|Button->Popup| f)
Callback to create Popup to display when button is pressed.
Void openPopup()
Programmatically open popup, or do nothing if no popup defined.