polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
21 lines (20 loc) • 1.26 kB
TypeScript
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { TypedInputEventNode } from './_BaseInput';
declare class KeyboardEventParamsConfig extends NodeParamsConfig {
/** @param toggle on to allow any event to be listened to */
active: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
sep: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.SEPARATOR>;
/** @param toggle on to listen to keydown events */
keydown: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
/** @param toggle on to listen to keypress events */
keypress: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
/** @param toggle on to listen to keyup events */
keyup: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
}
export declare class KeyboardEventNode extends TypedInputEventNode<KeyboardEventParamsConfig> {
params_config: KeyboardEventParamsConfig;
static type(): string;
protected accepted_event_types(): string[];
initializeNode(): void;
}
export {};