mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
feature(nav-push): initial implementation of nav-push
This commit is contained in:
32
packages/core/src/components.d.ts
vendored
32
packages/core/src/components.d.ts
vendored
@ -1840,6 +1840,38 @@ declare global {
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
NavPop as IonNavPush
|
||||
} from './components/nav-push/nav-push';
|
||||
|
||||
declare global {
|
||||
interface HTMLIonNavPushElement extends IonNavPush, HTMLStencilElement {
|
||||
}
|
||||
var HTMLIonNavPushElement: {
|
||||
prototype: HTMLIonNavPushElement;
|
||||
new (): HTMLIonNavPushElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"ion-nav-push": HTMLIonNavPushElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"ion-nav-push": HTMLIonNavPushElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"ion-nav-push": JSXElements.IonNavPushAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface IonNavPushAttributes extends HTMLAttributes {
|
||||
component?: any;
|
||||
data?: any;
|
||||
url?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
Nav as IonNav
|
||||
} from './components/nav/nav';
|
||||
|
Reference in New Issue
Block a user