switch.Rd
A switch input.
switch(id, ...)
The id of the switch input.
Any named properties.
See switch
switch( "switch", `text-on` = "Yes", `text-off` = "No" ) #> <ui5-switch id="switch" text-on="Yes" text-off="No"></ui5-switch>