mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
feature(nav-set-root): add a component to do a setRoot operation
This commit is contained in:
34
packages/core/src/components.d.ts
vendored
34
packages/core/src/components.d.ts
vendored
@ -1842,7 +1842,7 @@ declare global {
|
||||
|
||||
|
||||
import {
|
||||
NavPop as IonNavPush
|
||||
NavPush as IonNavPush
|
||||
} from './components/nav-push/nav-push';
|
||||
|
||||
declare global {
|
||||
@ -1873,6 +1873,38 @@ declare global {
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
NavSetRoot as IonNavSetRoot
|
||||
} from './components/nav-set-root/nav-set-root';
|
||||
|
||||
declare global {
|
||||
interface HTMLIonNavSetRootElement extends IonNavSetRoot, HTMLStencilElement {
|
||||
}
|
||||
var HTMLIonNavSetRootElement: {
|
||||
prototype: HTMLIonNavSetRootElement;
|
||||
new (): HTMLIonNavSetRootElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"ion-nav-set-root": HTMLIonNavSetRootElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"ion-nav-set-root": HTMLIonNavSetRootElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"ion-nav-set-root": JSXElements.IonNavSetRootAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface IonNavSetRootAttributes extends HTMLAttributes {
|
||||
component?: any;
|
||||
data?: any;
|
||||
url?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
Nav as IonNav
|
||||
} from './components/nav/nav';
|
||||
|
Reference in New Issue
Block a user