fix(input): device support

This commit is contained in:
Manu Mtz.-Almeida
2018-02-27 13:08:33 +01:00
parent 0880ef57e7
commit fe9f8c40ea
18 changed files with 491 additions and 317 deletions

View File

@ -20,6 +20,10 @@ import {
AlertButton,
AlertInput,
} from './components/alert/alert';
import {
App,
FrameworkDelegate as FrameworkDelegate2,
} from '.';
import {
ElementRef,
Side,
@ -38,9 +42,6 @@ import {
import {
SelectPopoverOption,
} from './components/select-popover/select-popover';
import {
FrameworkDelegate as FrameworkDelegate2,
} from '.';
import {
DomRenderFn,
HeaderFn,
@ -847,6 +848,36 @@ declare global {
}
import {
DeviceHacks as IonDeviceHacks
} from './components/device-hacks/device-hacks';
declare global {
interface HTMLIonDeviceHacksElement extends IonDeviceHacks, HTMLStencilElement {
}
var HTMLIonDeviceHacksElement: {
prototype: HTMLIonDeviceHacksElement;
new (): HTMLIonDeviceHacksElement;
};
interface HTMLElementTagNameMap {
"ion-device-hacks": HTMLIonDeviceHacksElement;
}
interface ElementTagNameMap {
"ion-device-hacks": HTMLIonDeviceHacksElement;
}
namespace JSX {
interface IntrinsicElements {
"ion-device-hacks": JSXElements.IonDeviceHacksAttributes;
}
}
namespace JSXElements {
export interface IonDeviceHacksAttributes extends HTMLAttributes {
app?: App;
}
}
}
import {
Events as IonEvents
} from './components/events/events';