feature(platform): implement a web component that provides access to a small subset of platform information

This commit is contained in:
Dan Bucholtz
2018-02-19 14:19:42 -06:00
committed by GitHub
parent 8956708f06
commit 6c1056b9cb
18 changed files with 740 additions and 25 deletions

View File

@ -2072,6 +2072,36 @@ declare global {
}
import {
Platform as IonPlatform
} from './components/platform/platform';
declare global {
interface HTMLIonPlatformElement extends IonPlatform, HTMLStencilElement {
}
var HTMLIonPlatformElement: {
prototype: HTMLIonPlatformElement;
new (): HTMLIonPlatformElement;
};
interface HTMLElementTagNameMap {
"ion-platform": HTMLIonPlatformElement;
}
interface ElementTagNameMap {
"ion-platform": HTMLIonPlatformElement;
}
namespace JSX {
interface IntrinsicElements {
"ion-platform": JSXElements.IonPlatformAttributes;
}
}
namespace JSXElements {
export interface IonPlatformAttributes extends HTMLAttributes {
}
}
}
import {
PopoverController as IonPopoverController
} from './components/popover-controller/popover-controller';