UNPKG

lath

Version:

Seamless connection of pages.

35 lines (34 loc) 1.03 kB
import { SmoothScroller } from '../Scroll'; import { Application } from '../types'; interface SwitcherOptions { readonly: boolean; } declare class AppSwitcher { application: Application; relativeViewport: HTMLElement; absoluteViewport: HTMLElement; fixedViewport: HTMLElement; switcher: HTMLElement; snapWrapper: HTMLElement; scroll: SmoothScroller; progressName: string; deleteMap: { [key: string]: number; }; options: SwitcherOptions; constructor(application: Application); bindResize(): void; open(options?: SwitcherOptions): Promise<void>; close(): Promise<void>; createAppSwitcher(): Promise<void>; deleteItem(elementToDelete: HTMLElement): void; private bindItemClick; private setNormalItem; private setActivityItem; private restoreToItem; private getActiveApplet; private blurBackgroundImage; private focusBackgroundImage; private delayDynamicImport; } export { AppSwitcher };