lath
Version:
Seamless connection of pages.
29 lines (28 loc) • 962 B
TypeScript
import { Application } from '../Application';
import { Applet } from '../Applet';
import { SegueOptions, SegueActionOrigin, PresetConfig } from '../types';
declare class SegueBase {
id: string;
prevId: string;
param: string;
root: HTMLElement | ShadowRoot;
application: Application;
zIndex: number;
applet: Applet;
prevApplet?: Applet;
prevPrevApplet?: Applet;
appletGroup: Array<Applet>;
options: SegueOptions;
touches?: SegueActionOrigin;
readonly relativeViewport: HTMLElement;
readonly absoluteViewport: HTMLElement;
readonly fixedViewport: HTMLElement;
readonly applicationViewport: HTMLElement;
target: HTMLElement | ShadowRoot;
constructor(app: Application, presetConfig: PresetConfig);
resetBaseStyleText: string;
resetBaseStyle(cssText?: string): void;
setupViewport(): void;
resetViewport(free?: boolean): void;
}
export { SegueBase };