OpenToolPanelOptions
Since v2.16.0
Options for ShellController.openToolPanel (and the
ShellPlugin.openToolPanel / grid-level wrappers).
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
anchor? | HTMLElement | 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. v2.16.0+ |
Property Details
Section titled “Property Details”anchor
Section titled “anchor”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).