Skip to content

ToggleButton (button) events

EventsDescription
on_change(optional) will be called on state changes made by the user. Returns a boolean and string { checked, value, event }.

ToggleButton (group) events

EventsDescription
on_change(optional) will be called once a ToggleButton button changes the state. Returns an object { value, values, event }.

NB: values is only available if multiselect is used / true.