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.
Last updated