Switch

Think of a light switch. It has two settings, On and Off. That is exactly what the switch component is like.

​​​⚙ Properties

  • Generic properties

    • Enable skeleton loaders: this tool provides an indication to the user that something is coming but not yet available on the switch element.

    • Control is hidden: hide the switch element from the screen.

The skeleton loader component provides a user with a visual indicator that content is coming/loading. This is better received than traditional full-screen loaders.

​​👆 Events

  • On value change: called ****with a new value when the value changes.

Última actualización