# OpenToolPanelOptions

> _Since v2.16.0_

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

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `anchor?` | <code>HTMLElement</code> | 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. <span class="since-badge" title="Introduced in v2.16.0">v2.16.0+</span> |

### Property Details

#### `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`).

---
