vue-easy-lightbox
Version:
A Vue.js 3.0 image lightbox component with Zoom / Drag / Rotate / Switch
11 lines (10 loc) • 756 B
TypeScript
export declare const inBrowser: boolean;
export declare const voidFn: () => void;
export declare let supportsPassive: boolean;
export declare const on: (target: Element | Document | Window, event: string, handler: EventListenerOrEventListenerObject, passive?: boolean) => void;
export declare const off: (target: Element | Document | Window, event: string, handler: EventListenerOrEventListenerObject) => void;
export declare const preventDefault: (e: Event) => void;
export declare function isArray(arg: unknown): arg is unknown[];
export declare const isObject: (arg: unknown) => arg is Record<string, unknown>;
export declare const isString: (arg: unknown) => arg is string;
export declare function notEmpty<T>(value: T | null | undefined): value is T;