UNPKG

js.foresight

Version:

Predicts mouse trajectory to trigger actions as users approach elements, enabling anticipatory UI updates or pre-loading. Made with vanilla javascript and usable in every framework.

8 lines 247 B
type ShouldRegister = { shouldRegister: boolean; isTouchDevice: boolean; isLimitedConnection: boolean; }; export declare function evaluateRegistrationConditions(): ShouldRegister; export {}; //# sourceMappingURL=shouldRegister.d.ts.map