mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
feature(hide-when): initial implementation of hide-when
This commit is contained in:
68
packages/core/src/components.d.ts
vendored
68
packages/core/src/components.d.ts
vendored
@ -1108,6 +1108,40 @@ declare global {
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
HideWhen as IonHideWhen
|
||||
} from './components/hide-when/hide-when';
|
||||
|
||||
declare global {
|
||||
interface HTMLIonHideWhenElement extends IonHideWhen, HTMLStencilElement {
|
||||
}
|
||||
var HTMLIonHideWhenElement: {
|
||||
prototype: HTMLIonHideWhenElement;
|
||||
new (): HTMLIonHideWhenElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"ion-hide-when": HTMLIonHideWhenElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"ion-hide-when": HTMLIonHideWhenElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"ion-hide-when": JSXElements.IonHideWhenAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface IonHideWhenAttributes extends HTMLAttributes {
|
||||
mediaQuery?: string;
|
||||
mode?: string;
|
||||
or?: boolean;
|
||||
platform?: string;
|
||||
size?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
InfiniteScrollContent as IonInfiniteScrollContent
|
||||
} from './components/infinite-scroll-content/infinite-scroll-content';
|
||||
@ -2845,6 +2879,40 @@ declare global {
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
ShowWhen as IonShowWhen
|
||||
} from './components/show-when/show-when';
|
||||
|
||||
declare global {
|
||||
interface HTMLIonShowWhenElement extends IonShowWhen, HTMLStencilElement {
|
||||
}
|
||||
var HTMLIonShowWhenElement: {
|
||||
prototype: HTMLIonShowWhenElement;
|
||||
new (): HTMLIonShowWhenElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"ion-show-when": HTMLIonShowWhenElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"ion-show-when": HTMLIonShowWhenElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"ion-show-when": JSXElements.IonShowWhenAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface IonShowWhenAttributes extends HTMLAttributes {
|
||||
mediaQuery?: string;
|
||||
mode?: string;
|
||||
or?: boolean;
|
||||
platform?: string;
|
||||
size?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
SkeletonText as IonSkeletonText
|
||||
} from './components/skeleton-text/skeleton-text';
|
||||
|
Reference in New Issue
Block a user