Learn R Programming

shinyWidgets (version 0.3.0)

updateSwitchInput: Change the value of a switch input on the client

Description

Change the value of a switch input on the client

Usage

updateSwitchInput(session, inputId, value = NULL)

Arguments

session

The session object passed to function given to shinyServer.

inputId

The id of the input object.

value

TRUE or FALSE.