switchInput: Custom toggle switch input for shiny UI

View source: R/fct_custom_shiny_inputs.R

switchInputR Documentation

Custom toggle switch input for shiny UI

Description

Custom toggle switch input for shiny UI

Usage

switchInput(id, aria_label, checked = TRUE)

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.

Value

A toggle switch control that can be added to a UI definition.


ssd4mosaic documentation built on April 4, 2025, 1:42 a.m.