mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
refactor(navigation): get rid of ion-nav-controller, get nav working correctly in DOM, angular, react
This commit is contained in:
30
packages/core/src/components.d.ts
vendored
30
packages/core/src/components.d.ts
vendored
@ -1635,36 +1635,6 @@ declare global {
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
NavController as IonNavController
|
||||
} from './components/nav-controller/nav-controller';
|
||||
|
||||
declare global {
|
||||
interface HTMLIonNavControllerElement extends IonNavController, HTMLElement {
|
||||
}
|
||||
var HTMLIonNavControllerElement: {
|
||||
prototype: HTMLIonNavControllerElement;
|
||||
new (): HTMLIonNavControllerElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"ion-nav-controller": HTMLIonNavControllerElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"ion-nav-controller": HTMLIonNavControllerElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"ion-nav-controller": JSXElements.IonNavControllerAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface IonNavControllerAttributes extends HTMLAttributes {
|
||||
delegate?: FrameworkDelegate;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
Nav as IonNav
|
||||
} from './components/nav/nav';
|
||||
|
Reference in New Issue
Block a user