Toggler is a visible component that can display checked / unchecked states as a button with a light indicator. By default, it will display a text with ON or OFF labels:

Toggler includes a Click event block that will be invoked when user taps on the button

Toggler also includes a Checked property block. It can be used to determine the state of it and determine if it is Checked or un-Checked. Use if-then-else block in your Toggler.Click block the add custom logic based on its status:

This component includes many other blocks to change some properties such as its color or font size.

This component also includes blocks that can be used to change the default ON / OFF text. For example, to change ON / OFF to Yes / No, use blocks below

Note: You can also use Switch component, to basically, accomplish same.

Last updated