move_panel {dockViewR} | R Documentation |
Move Panel dynamically
Description
Move Panel dynamically
Usage
move_panel(
dock_id,
id,
position = NULL,
group = NULL,
index = NULL,
session = getDefaultReactiveDomain()
)
Arguments
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/. |
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.
[Package dockViewR version 0.2.0 Index]