Learn R Programming

shinyWidgets (version 0.4.3)

updateMaterialSwitch: Change the value of a materialSwitch input on the client

Description

Change the value of a materialSwitch input on the client

Usage

updateMaterialSwitch(session, inputId, value = NULL)

Arguments

session

The session object passed to function given to shinyServer.

inputId

The id of the input object.

value

The value to set for the input object.

See Also

materialSwitch