Skip to main content

Toggle Widget

The IQNOX Toggle is a simple widget, similar to the checkbox in that it can be set to two different states, useful for mobile screens where toggles are used instead of checkboxes.

Usage

Properties

PropertyTypeBindingDefaultDescription
CustomClassSTRING<>Enables you to define an html class to the top div of the widget. Multiple classes can be entered, separated by space
TemplateLIST<Template 1The widget template to use for this widget
StateBOOLEAN<>FALSEEnables you to define the state of the Toggle widget
TabSequenceINTEGER0Specifies the tab order of an element (when the "tab" button is used for navigating).
DisabledBOOLEAN<FALSEDisables the toggle on runtime

Services

PropertyTypeBindingDescription
ResetValueSERVICE<Resets the Value of the widget to default

Events

PropertyTypeBindingDescription
StateChangedEVENT>Triggers an event when the value of the widget is changed