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:
id="UD"
sess_res = UD_test_mksession(session=list(), id=id)
session = sess_res$session
state = sess_res$state
FM_set_mod_state(session, id, state)
[Package formods version 0.1.6 Index]