feat(ion-router): adds ion-router

This commit is contained in:
Manu Mtz.-Almeida
2018-02-07 19:05:39 +01:00
parent 5540ecefed
commit 4e6ebf59c5
27 changed files with 4113 additions and 493 deletions

View File

@ -1834,6 +1834,7 @@ declare global {
lazy?: boolean;
mode?: string;
root?: any;
swipeBackEnabled?: boolean;
useUrls?: boolean;
}
}
@ -2442,30 +2443,31 @@ declare global {
import {
RouterController as IonRouterController
} from './components/router-controller/router-controller';
Router as IonRouter
} from './components/router/router';
declare global {
interface HTMLIonRouterControllerElement extends IonRouterController, HTMLStencilElement {
interface HTMLIonRouterElement extends IonRouter, HTMLStencilElement {
}
var HTMLIonRouterControllerElement: {
prototype: HTMLIonRouterControllerElement;
new (): HTMLIonRouterControllerElement;
var HTMLIonRouterElement: {
prototype: HTMLIonRouterElement;
new (): HTMLIonRouterElement;
};
interface HTMLElementTagNameMap {
"ion-router-controller": HTMLIonRouterControllerElement;
"ion-router": HTMLIonRouterElement;
}
interface ElementTagNameMap {
"ion-router-controller": HTMLIonRouterControllerElement;
"ion-router": HTMLIonRouterElement;
}
namespace JSX {
interface IntrinsicElements {
"ion-router-controller": JSXElements.IonRouterControllerAttributes;
"ion-router": JSXElements.IonRouterAttributes;
}
}
namespace JSXElements {
export interface IonRouterControllerAttributes extends HTMLAttributes {
export interface IonRouterAttributes extends HTMLAttributes {
base?: string;
useHash?: boolean;
}
}
}