Skip to contents

Create a dock panel

Usage

panel(id, title, content, active = TRUE, ...)

Arguments

id

Panel unique id.

title

Panel title.

content

Panel content. Can be a list of Shiny tags.

active

Is active?

...

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:

  • referencePanel: reference panel id.

  • direction: one of above, below, left, right or within (above, below, left, right put the panel in a new group, while within puts the panel after its reference panel in the same group). Position is relative to the reference panel target.