UNPKG

984 BTypeScriptView Raw
1import { ComponentInterface } from '../../stencil.core';
2import { RouterHistory, Listener, LocationSegments, MatchResults, Path } from '../../global/interfaces';
3/**
4 * @name Route
5 * @module ionic
6 * @description
7 */
8export declare class RouteLink implements ComponentInterface {
9 el: HTMLElement;
10 unsubscribe: Listener;
11 url?: string;
12 urlMatch?: Path;
13 activeClass: string;
14 exact: boolean;
15 strict: boolean;
16 /**
17 * Custom tag to use instead of an anchor
18 */
19 custom: string;
20 anchorClass?: string;
21 anchorRole?: string;
22 anchorTitle?: string;
23 anchorTabIndex?: string;
24 anchorId?: string;
25 history?: RouterHistory;
26 location?: LocationSegments;
27 root?: string;
28 ariaHaspopup?: string;
29 ariaPosinset?: string;
30 ariaSetsize?: number;
31 ariaLabel?: string;
32 match: MatchResults | null;
33 componentWillLoad(): void;
34 computeMatch(): void;
35 handleClick(e: MouseEvent): void;
36 render(): any;
37}