UNPKG

@stencil/router

Version:
24 lines (23 loc) 732 B
import { ComponentInterface } from '../../stencil.core'; import { LocationSegments, HistoryType, RouterHistory, RouteViewOptions } from '../../global/interfaces'; import { QueueApi } from '@stencil/core/dist/declarations'; /** * @name Router * @module ionic * @description */ export declare class Router implements ComponentInterface { el: HTMLElement; root: string; private isServer; queue: QueueApi; historyType: HistoryType; titleSuffix: string; scrollTopOffset?: number; location?: LocationSegments; history?: RouterHistory; componentWillLoad(): void; routeViewsUpdated: (options?: RouteViewOptions) => void; scrollTo(scrollToLocation?: number): void; render(): any; }