@launchmenu/core
Version:
An environment for visual keyboard controlled applets
20 lines • 858 B
TypeScript
import { ITextField } from "../../../../../textFields/_types/ITextField";
import { UILayer } from "../../../../../uiLayers/standardUILayer/UILayer";
/** A UI Layer to handle key inputs */
export declare class SelectKeyInputLayer extends UILayer {
protected textField: ITextField;
protected onClose: () => void;
protected globalShortcut: boolean;
/**
* Creates a layer that can be used to select key combinations
*/
constructor({ textField, onClose, globalShortcut, }: {
/** The textfield to set the pattern in */
textField: ITextField;
/** The callback to perform when closing the layer */
onClose: () => void;
/** Whether to shortcut to store should be a global shortcut */
globalShortcut?: boolean;
});
}
//# sourceMappingURL=SelectKeyInputLayer.d.ts.map