MenuBarHandle interface

Module @runic-artifex/svelte in @runic-artifex/svelte 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". A reactive property.

invoke

readonly invoke: MenuBarController["invoke"];

Runs an item through the native bar's command path. Rejects with a BridgeError before the owner's effects ran.

handleKeyDown

readonly handleKeyDown: MenuBarController["handleKeyDown"];

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