@launchmenu/core
Version:
An environment for visual keyboard controlled applets
15 lines • 747 B
TypeScript
import { IIOContext } from "../../../context/_types/IIOContext";
import { IKeyEventListener } from "../../../keyHandler/_types/IKeyEventListener";
import { IContent } from "../../_types/IContent";
/**
* Creates a standard content key handler
* @param content The content to be handled
* @param context The context that the handler is used in
* @param config Additional configuration
* @returns The key handler tha can be added to the UILayer
*/
export declare function createStandardContentKeyHandler(content: IContent, context: IIOContext, { onExit, }?: {
/** The code to execute when trying to exit the field */
onExit?: () => void;
}): IKeyEventListener;
//# sourceMappingURL=createStandardContentKeyHandler.d.ts.map