FM_fetch_mod_state | R Documentation |
Fetches the module state from the userdata under the specified id
FM_fetch_mod_state(session, id)
session |
Shiny session variable. |
id |
ID string for the module. |
module state or NULL if it's not defined.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.