Skip to main content

Module on

Module on 

Source
Expand description

Constructors for handlers. In the ui! macro, on:click={|| Msg::Save} becomes .on(on::click(|| Msg::Save)).

Functions§

change
A text field’s text changed. Fired on every edit.
click
A button was clicked, or activated from the keyboard, or its shortcut was pressed.
submit
Enter was pressed in a text field.
toggle
A checkbox was checked or unchecked.