mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
refactor(app): add cordova-platform to ion-app, add back-button support, get api working
This commit is contained in:
30
packages/core/src/components.d.ts
vendored
30
packages/core/src/components.d.ts
vendored
@ -725,6 +725,36 @@ declare global {
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
CordovaPlatform as IonCordovaPlatform
|
||||
} from './components/cordova-platform/cordova-platform';
|
||||
|
||||
declare global {
|
||||
interface HTMLIonCordovaPlatformElement extends IonCordovaPlatform, HTMLElement {
|
||||
}
|
||||
var HTMLIonCordovaPlatformElement: {
|
||||
prototype: HTMLIonCordovaPlatformElement;
|
||||
new (): HTMLIonCordovaPlatformElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"ion-cordova-platform": HTMLIonCordovaPlatformElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"ion-cordova-platform": HTMLIonCordovaPlatformElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"ion-cordova-platform": JSXElements.IonCordovaPlatformAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface IonCordovaPlatformAttributes extends HTMLAttributes {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
Datetime as IonDatetime
|
||||
} from './components/datetime/datetime';
|
||||
|
Reference in New Issue
Block a user