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

updateMaterialSwitch {shinyWidgets} | R Documentation

## 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`

[Package shinyWidgets version 0.4.3 Index]