mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
feature(platform): implement a web component that provides access to a small subset of platform information
This commit is contained in:
30
packages/core/src/components.d.ts
vendored
30
packages/core/src/components.d.ts
vendored
@ -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';
|
||||
|
Reference in New Issue
Block a user