You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Use the <toggle> tag to add and configure the toggle selector. The toggle does not require additional confirmation, so any functions related to it will be called immdeately as the toggle position changes.

Available attributes:

AttributeTypeMandatoryDescription
checkedBoolean
Specify if the toggle is enabled.
disabledBoolean
Specify if the position of the toggle can be changed by the users.
onChangeFunction
The method called when the position of the toggle changes.
textString
The text explaining the function of the toggle to the users. It is located on the right from the toggle.

Example:


  • No labels