UNPKG

@learn-hunger/visual-gestures

Version:

VisualGestures.js is a package that empowers users to effortlessly control the cursor, including actions such as hover, click, drag, and drop, through precise finger movements in the air.

16 lines (15 loc) 549 B
import { EHandLandmarks } from "../utilities/vg-constants"; import { TCursors } from "../utilities/vg-types"; import { INormalizedLandmark } from "../utilities/vg-types-handlandmarks"; export declare class DefaultConfig { private static defaultConfig; cursor: TCursors; cursorContainer: HTMLElement; pointer: EHandLandmarks; cursorPosition: INormalizedLandmark; deltaLandmark: INormalizedLandmark; flickeringThreshold: number; private constructor(); private setCursor; static get instance(): DefaultConfig; }