Skip to content

Events

PropertyTypeDescription
onChange() => {checked: boolean; event: ChangeEvent}(optional) Will be called on state changes made by the user.
onChangeEnd() => {checked: boolean; event: ChangeEvent}(optional) Will be called on state changes made by the user, but with a delay. This way the user sees the animation before e.g. an error will be removed. Returns a boolean { checked, event }.