Skip to main content


Java API

A "toggle" event occurs when an element or control changes its state between two possible states, such as "on" and "off" or "visible" and "hidden." It can apply to various elements, such as buttons, dropdowns, menus, or modals. When a "toggle" event is triggered, the element switches its state from one option to another, reflecting the user's action or changing conditions. This class also inherits methods from the base Event class

Event Payload

isToggled()Gets the value of the component to determine whether it was toggled on or off.

See Also