mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
fix(input): device support
This commit is contained in:
37
packages/core/src/components.d.ts
vendored
37
packages/core/src/components.d.ts
vendored
@ -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';
|
||||
|
Reference in New Issue
Block a user