shinymaterial (version 0.5.1)

update_material_switch: Change the value of a material_switch on the client

Description

Change the value of a material_switch on the client.

Usage

update_material_switch(session, input_id, value = NULL)

Arguments

session

The session object passed to function given to shinyServer.

input_id

The input_id of the material_switch.

value

Boolean. The value to set for the material_switch.

Examples

Run this code
# NOT RUN {
update_material_switch(
  session,
  input_id = "example_switch",
  value = TRUE
)
# }

Run the code above in your browser using DataCamp Workspace