MenuBarHandle interface

Module @runic-artifex/react in @runic-artifex/react 0.23.0

interface MenuBarHandle

No documentation.

Properties

state

readonly state: MenuBarState;

The menu bar as the page renders it; render a bar only when placement is "page".

invoke

readonly invoke: MenuBarController["invoke"];

Runs an item through the native bar's command path. Rejects with a BridgeError before the hook connected.

handleKeyDown

readonly handleKeyDown: MenuBarController["handleKeyDown"];

Matches a keydown event against the items' shortcuts, for the shortcuts: "app" option.