FM_fetch_mod_state {formods} | R Documentation |
Fetch the Module State
Description
Fetches the module state from the userdata under the specified id
Usage
FM_fetch_mod_state(session, id)
Arguments
session |
Shiny session variable. |
id |
ID string for the module. |
Value
module state or NULL if it's not defined.
Examples
# We need a Shiny session variable to use this function:
id="UD"
sess_res = UD_test_mksession(session=list(), id=id)
session = sess_res$session
state = FM_fetch_mod_state(session, id)
[Package formods version 0.1.6 Index]