View source: R/code_used_by_external_modules.R
Get_Code_Declare_widgets | R Documentation |
This function create the source code needed inside a module to declare the reactive variable called 'widgets.default.values'. # Declaration of the variables that will contain the values of the widgets To avoid confusion, the first string is the name of the step while the second is the name of the widget
Get_Code_Declare_widgets(widgets.names = NULL)
widgets.names |
A 'list' containing the names of the widgets in all steps of the module. |
Samuel Wieczorek
## Not run: widgets <- paste0('widget', 1:3) code <- Get_Code_Declare_widgets(widgets) cat(code) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.