Add Panel dynamically
Usage
add_panel(dock_id, panel, ..., session = getDefaultReactiveDomain())
Arguments
- 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/.
Value
This function is called for its side effect. It sends a message to JavaScript through the current websocket connection, leveraging the shiny session object.