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