switchInput: Custom toggle switch input for shiny UI
Description
Custom toggle switch input for shiny UI
Usage
switchInput(id, aria_label, checked = TRUE)
Value
A toggle switch control that can be added to a UI definition.
Arguments
- id
The input slot that will be used to access the value.
- aria_label
An invisible label for screen readers.
- checked
Whether to create the switch as ON.