All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.keyboard.getEventProps.d.ts Maven / Gradle / Ivy

The newest version!
import { keyboardKey, keyboardState } from './types';
export declare function getKeyEventProps(keyDef: keyboardKey, state: keyboardState): {
    key: string | undefined;
    code: string | undefined;
    altKey: boolean;
    ctrlKey: boolean;
    metaKey: boolean;
    shiftKey: boolean;
    /** @deprecated use code instead */
    keyCode: number | undefined;
};
export declare function getMouseEventProps(state: keyboardState): {
    altKey: boolean;
    ctrlKey: boolean;
    metaKey: boolean;
    shiftKey: boolean;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy