View source: R/utils_insertModule.R
insertModule | R Documentation |
Use this function to insert a module and its associated server somewhere in your UI. It is inserted with a way to remove it (contained in a div). This function only manages the graphical part. Server modules are still functional and related data can still exist.
insertModule( id, selector, moduleUI, moduleUI_args = list(), module, module_args = list(), container_class = NULL, container_style = "border: 1px solid lightgrey; border-radius: 10px;\n padding: 3px; margin: 3px;" )
id |
The id to use for the modules. If you call |
selector |
A JS selector targetting the element after which the UI shall
be inserted (see |
moduleUI, moduleUI_args |
The module UI definition and its arguments
OTHER THAN |
module, module_args |
The module server definition and its arguments
OTHER THAN |
container_class, container_style |
CSS class and style to be applied to the module UI container. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.