In UI development, a SwitchGroup refers to a collection or grouping of individual switches.
Here the methods available for the SwitchGroup Component.
Examples
Properties
The following properties are available on the SwitchGroup object:
absHeight → Number
absLeft → Number
absTop → Number
absWidth → Number
backColor → String
backImage → String
border → Number
borderColor → String
borderStyle → String
color → String
cornerRadius → Number
disabled → Boolean
edge → String
el → Object
elevation → Number
elStyle → String
fontFile → String
height → Number
iconColor → String
iconSize → Number
isVisible → Boolean
itemPadding → List
label → String
labelColor → String
labelSize → Number
left → Number
list → List
margins → List
opacity → Number
options → String
outlined → Boolean
padding → List
parent → Object
position → Object
rotation → Number
textColor → String
textSize → Number
top → Number
type → String
visibility → String
width → Number
Methods
The following methods are available on the SwitchGroup object:
destroy()
getEnabled(
index )
→ Boolean
getPosition(
options )
→ Object
getValueByIndex(
index )
→ Boolean
gone()
hide()
popItem()
show()