Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 626 Bytes

toggle.md

File metadata and controls

18 lines (14 loc) · 626 Bytes

toggle

description

Toggle (switch) is like checkbox, to make boolean input (true/false).

properties

  • name: name
  • text: text (label)
  • bgColor : background color
  • color : color of text
  • activeColor : color of active switch
  • state: default or selected by user state (on/off -> true/false)
  • onChanged : event run when check state
  • padding: padding
  • enabled: enabled component (uncheck it to disable component)
  • hide: hiding component (if you check it, the component hiding)