Skip to content

OpenToolPanelOptions

Since v2.16.0

Options for ShellController.openToolPanel (and the ShellPlugin.openToolPanel / grid-level wrappers).

PropertyTypeDescription
anchor?HTMLElementElement to anchor the dropdown popover to when shell.toolPanel.mode is 'dropdown'. The popover is positioned directly below this element (or at its top corner for the grid-corner fallback). Ignored in 'overlay' and 'push' modes. v2.16.0+

Element to anchor the dropdown popover to when shell.toolPanel.mode is 'dropdown'. The popover is positioned directly below this element (or at its top corner for the grid-corner fallback). Ignored in 'overlay' and 'push' modes.

When omitted, the dropdown anchors to the built-in toolbar toggle button if present, otherwise to the top corner of the grid (on the side given by shell.toolPanel.position).