powered by
Change the value of a material_switch on the client.
update_material_switch(session, input_id, value = NULL)
The session object passed to function given to shinyServer.
The input_id of the material_switch.
Boolean. The value to set for the material_switch.
material_switch
# NOT RUN { update_material_switch( session, input_id = "example_switch", value = TRUE ) # }
Run the code above in your browser using DataLab