Change the value of a materialSwitch input on the client
1 | updateMaterialSwitch(session, inputId, value = NULL)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.