leaflet
Version:
JavaScript library for mobile-friendly interactive maps
19 lines (18 loc) • 728 B
TypeScript
/** @type {WeakSet<Event>} */
export declare const stoppedEvents: WeakSet<Event>;
/** @type {WeakSet<Node>} */
export declare const clickDisabledElements: WeakSet<Node>;
/** @type {WeakSet<EventTarget>} */
export declare const mapHandlingDisabled: WeakSet<EventTarget>;
/**
* Enables pointer detection and capture for the document.
* @param {HTMLElement} el
*/
export declare function enablePointerDetection(el: HTMLElement): void;
/**
* Disables pointer detection and capture for the document.
* @param {HTMLElement} el
*/
export declare function disablePointerDetection(el: HTMLElement): void;
/** Returns the pointers that are currently active on the document. */
export declare function getPointers(): PointerEvent[];