UNPKG

tua-body-scroll-lock

Version:

🔐Body scroll locking that just works with everything

9 lines (8 loc) 383 B
export declare const isServer: () => boolean; export declare const $: (selector: string) => HTMLElement; export interface DetectOSResult { ios: boolean; android: boolean; } export declare const detectOS: (ua?: string | undefined) => DetectOSResult; export declare function getEventListenerOptions(options: AddEventListenerOptions): AddEventListenerOptions | boolean;