lath
Version:
Seamless connection of pages.
27 lines (26 loc) • 757 B
TypeScript
import { ApplicationBase } from './Base';
import { Applet } from '../types';
interface ApplicationRouteInfo {
id: string;
param: string;
search: string;
}
declare class ApplicationState extends ApplicationBase {
get route(): ApplicationRouteInfo;
get exists(): boolean;
get activityApplet(): Applet | undefined;
get prevActivityApplet(): Applet | undefined;
get activityLevel(): number;
get isFullscreen(): boolean;
overscrollHistoryNavigation: {
moment: number;
type: string;
};
properties: {
darkTheme: boolean;
};
setExists(): Promise<void>;
activeState: 'active' | 'frozen';
activate(active: boolean): void;
}
export { ApplicationState };