@launchmenu/core
Version:
An environment for visual keyboard controlled applets
11 lines • 451 B
TypeScript
import { IDataHook } from "model-react";
import { IMenuItem } from "./_types/IMenuItem";
/**
* Checks whether a given item can be selected in the menu
* @param item The item to check
* @param hook The hook to subscribe to changes
* @returns Whether the item is selectable
* @exportTo ./menus/helpers
*/
export declare function isItemSelectable(item: IMenuItem, hook?: IDataHook): boolean;
//# sourceMappingURL=isItemSelectable.d.ts.map