buttonExample

Undocumented in source. Be warned that the author may not have intended to support it.
@safe
@
()
=> label("Buttons are the most basic node when it comes to user input. Pressing a button triggers an event, " ~ "and that's about the functionality of the button. Under the hood, buttons are labels — but they're modified " ~ "to react to user clicks.")
,
()
=> label("To initialize a button, you need to pass a delegate to dictate the button's effect. Here's one that " ~ "does nothing:")
Label
buttonExample
()

Meta