View source: R/Documentation_templates.R
MseekWidgets | R Documentation |
MseekWidgets
should work in a "vanilla" shiny
environment, i.e. any shiny app, making it easy to use them in other
shiny projects without significant overhead. The only expected argument
they need is a list supplied as reactives, and potentially additional
arguments for which default values exist. Widgets are typically wrappers
for plotting functions with some additional functionality.
MseekWidgets(input, output, session, reactives, static, keys, ...) MseekWidgetsUI(id)
input, output, session |
arguments necessary for use with
|
reactives |
a list, wrapped in a |
static |
a list of arguments that are not in a reactive context and hence do not change while the app is running. |
keys |
|
... |
additional arguments, as defined for the individual module. For example: constant layout options depending on the context that this module is used in |
id |
id to be used to define a namespace via |
MseekWidgets
: generic server logic example for MseekWidgets
MseekWidgetsUI
: generic UI example for MseekWidgets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.