FM_set_mod_state {formods}R Documentation

Set the Module State

Description

Sets the module state from the userdata under the specified id

Usage

FM_set_mod_state(session, id, state)

Arguments

session

Shiny session variable

id

ID string for the module.

state

Module state to set.

Value

Session variable with the module state set.

Examples

# We need a Shiny session variable and a module state
# object to use this function:
sess_res = UD_test_mksession()
session = sess_res$session
state   = sess_res$state
FM_set_mod_state(session, "UD", state)

[Package formods version 0.2.1 Index]