Interface: MenuState
Snapshot of a menu.
Extended by
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
enabled | readonly | Readonly<Record<string, boolean>> | Whether each item (by id) can run now. The checked item is always enabled. |
open | readonly | boolean | The menu is open. |
selected | readonly | MenuItem | null | The checked item (e.g. the current block type), or null. |