virtual class domkit::Button

sys::Obj
  dom::Elem
    domkit::Button

@Js

Source

Button is a widget that invokes an action when pressed.

See also: docDomkit, ToggleButton, ListButton

enabled

virtual override Bool? enabled

Source

make

new make()

Source

onAction

Void onAction(Func<Void,This> f)

Source

Callback when button action is invoked.

onPopup

Void onPopup(Func<Popup,Button> f)

Source

Callback to create Popup to display when button is pressed.

openPopup

Void openPopup()

Source

Programmatically open popup, or do nothing if no popup defined.