mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
feature(back-button): initial swag at software back-button support (yolo)
* wip * wip * wip * feature(back-button): yolo
This commit is contained in:
62
packages/core/src/components.d.ts
vendored
62
packages/core/src/components.d.ts
vendored
@ -276,6 +276,36 @@ declare global {
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
BackButton as IonBackButton
|
||||
} from './components/back-button/back-button';
|
||||
|
||||
declare global {
|
||||
interface HTMLIonBackButtonElement extends IonBackButton, HTMLElement {
|
||||
}
|
||||
var HTMLIonBackButtonElement: {
|
||||
prototype: HTMLIonBackButtonElement;
|
||||
new (): HTMLIonBackButtonElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"ion-back-button": HTMLIonBackButtonElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"ion-back-button": HTMLIonBackButtonElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"ion-back-button": JSXElements.IonBackButtonAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface IonBackButtonAttributes extends HTMLAttributes {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
Backdrop as IonBackdrop
|
||||
} from './components/backdrop/backdrop';
|
||||
@ -749,7 +779,7 @@ declare global {
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface IonCordovaPlatformAttributes extends HTMLAttributes {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1737,6 +1767,36 @@ declare global {
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
NavPop as IonNavPop
|
||||
} from './components/nav-pop/nav-pop';
|
||||
|
||||
declare global {
|
||||
interface HTMLIonNavPopElement extends IonNavPop, HTMLElement {
|
||||
}
|
||||
var HTMLIonNavPopElement: {
|
||||
prototype: HTMLIonNavPopElement;
|
||||
new (): HTMLIonNavPopElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"ion-nav-pop": HTMLIonNavPopElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"ion-nav-pop": HTMLIonNavPopElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"ion-nav-pop": JSXElements.IonNavPopAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface IonNavPopAttributes extends HTMLAttributes {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
Nav as IonNav
|
||||
} from './components/nav/nav';
|
||||
|
Reference in New Issue
Block a user