panel {dockViewR} | R Documentation |
Dock panel
Description
Create a panel for use within a dock_view()
widget.
Panels are the main container components that can be docked, dragged,
resized, and arranged within the dockview interface.
Usage
panel(
id,
title,
content,
active = TRUE,
remove = list(enable = FALSE, mode = "auto"),
...
)
Arguments
id |
Panel unique id. |
title |
Panel title. |
content |
Panel content. Can be a list of Shiny tags. |
active |
Is active? |
remove |
List with two fields: enable and mode. Enable is a boolean
and mode is one of |
... |
Other options passed to the API. See https://dockview.dev/docs/api/dockview/panelApi/. If you pass position, it must be a list with 2 fields:
|
Value
A list representing a panel object to be consumed by dock_view:
id: unique panel id (string).
title: panel title (string).
content: panel content (
shiny.tag.list
or singleshiny.tag
).active: whether the panel is active or not (boolean).
...: extra parameters to pass to the API.