Skip to main content

Switch Button

Properties | Events | Methods

A switch button is a user interface element that allows users to toggle between two states, typically "on" and "off".

Properties​

Custom ​

Label Position​

'labelposition' String To set the position (Top, Bottom, Left, Right) of the Label

On Label​

'onlabel' string Switch button onlabel name is defined (Max 10 characters)

Off Label​

'offlabel' string The switch button's offlabel name is defined (Max 10 characters)

Enable Ripple​

'enableripple' Boolean Used for visual rippled effect

Layout Design​

'tlayout' String To set the layout design (Default, Default Small, Default Large, Square, Square Small, Square Large)


Methods​

For more information on Methods in this section, see the General-Methods.


Events​

Applicable event is OnChange