@stringsync/vexml
Version:
MusicXML to Vexflow
12 lines (11 loc) • 400 B
TypeScript
export type Device = {
inputType: DeviceInputType;
primaryInputType: DevicePrimaryInputType;
supportsPassiveEvents: boolean;
supportsPointerEvents: boolean;
supportsTouchEvents: boolean;
hasTouch: boolean;
};
export type DeviceInputType = 'mouseonly' | 'touchonly' | 'hybrid';
export type DevicePrimaryInputType = 'mouse' | 'touch';
export declare const device: () => Device;