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