Skip to content

Interface: MenuState ​

Snapshot of a menu.

Extended by ​

Properties ​

PropertyModifierTypeDescription
enabledreadonlyReadonly<Record<string, boolean>>Whether each item (by id) can run now. The checked item is always enabled.
openreadonlybooleanThe menu is open.
selectedreadonlyMenuItem | nullThe checked item (e.g. the current block type), or null.