refactor(app): add cordova-platform to ion-app, add back-button support, get api working

This commit is contained in:
Dan Bucholtz
2018-02-05 22:20:48 -06:00
parent 2f8a027e2f
commit 2bde55421d
29 changed files with 423 additions and 94 deletions

View File

@ -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';