View source: R/fct_custom_shiny_inputs.R
switchInput | R Documentation |
Custom toggle switch input for shiny UI
switchInput(id, aria_label, checked = TRUE)
id |
The |
aria_label |
An invisible label for screen readers. |
checked |
Whether to create the switch as ON. |
A toggle switch control that can be added to a UI definition.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.