mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
feat(ion-router): adds ion-router
This commit is contained in:
24
packages/core/src/components.d.ts
vendored
24
packages/core/src/components.d.ts
vendored
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user