Skip to content

ToggleButton 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.