add_panel | R Documentation |
Add Panel dynamically
add_panel(dock_id, panel, ..., session = getDefaultReactiveDomain())
dock_id |
Dock unique id. When using modules the namespace is automatically added. |
panel |
A panel object. See panel for the different parameters. |
... |
Other options passed to the API. Not used yet. |
session |
shiny session object. See https://dockview.dev/docs/api/dockview/panelApi/. |
This function is called for its side effect. It sends a message to JavaScript through the current websocket connection, leveraging the shiny session object.
panel()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.