UNPKG

@launchmenu/core

Version:

An environment for visual keyboard controlled applets

14 lines 778 B
import { IMenu } from "../../_types/IMenu"; import { KeyEvent } from "../../../../keyHandler/KeyEvent"; import { KeyPattern } from "../../../../keyHandler/KeyPattern"; import { IMenuItemExecuteCallback } from "../../_types/IMenuItemExecuteCallback"; /** * Handles execute input events * @param event The event to test * @param menu The menu to perform the event for * @param onExecute A callback to perform when an item executed (may be suppressed/delayed by an executable) * @param pattern The key pattern to detect * @returns Whether the event was caught */ export declare function handleExecuteInput(event: KeyEvent, menu: IMenu, onExecute?: IMenuItemExecuteCallback, pattern?: KeyPattern): void | boolean; //# sourceMappingURL=handleExecuteInput.d.ts.map