UNPKG

swiper-next

Version:
29 lines (28 loc) 965 B
export declare const onEventPrevent: () => void; export declare const onEventStop: (_event: Event) => void; export declare function getWindowTop(): number; export declare function getWindowOffset(): { top: number; bottom: number; left: number; right: number; topWindowHeight: number; }; interface PageCssVars { '--window-top'?: string; '--window-bottom'?: string; '--window-left'?: string; '--window-right'?: string; '--window-margin'?: string; '--top-window-height'?: string; } export declare function updateCssVar(cssVars: Record<string, any>): void; export declare function updatePageCssVar(cssVars: PageCssVars): void; interface AppCssVar { '--status-bar-height'?: string; '--tab-bar-height'?: string; } export declare function updateAppCssVar(cssVars: AppCssVar): void; export declare function updateStyle(id: string, content: string): void; export declare function removeStyle(id: string): void; export {};