move_panel | R Documentation |
Move Panel dynamically
move_panel(
dock_id,
id,
position = NULL,
group = NULL,
index = NULL,
session = getDefaultReactiveDomain()
)
dock_id |
Dock unique id. When using modules the namespace is automatically added. |
id |
Panel id. |
position |
Panel position options: one of
|
group |
ID of the panel you want to move the target to. They must belong to different groups. |
index |
Panel index. If panels belong to the same group, you can use index to move the target panel at the desired position. When group is left NULL, index must be passed and cannot exceed the total number of panels or be negative. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.