Skip to contents

A switch input.

Usage

switch(id, ...)

Arguments

id

The id of the switch input.

...

Any named properties.

Details

See switch

Examples

switch(
  "switch",
  `text-on` = "Yes",
  `text-off` = "No"
)
#> <ui5-switch id="switch" text-on="Yes" text-off="No"></ui5-switch>