mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
1959 lines
58 KiB
TypeScript
1959 lines
58 KiB
TypeScript
/* tslint:disable */
|
|
/* auto-generated angular directive proxies */
|
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
|
|
import { Components } from '@ionic/core';
|
|
|
|
|
|
|
|
|
|
export declare interface IonAccordion extends Components.IonAccordion {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['disabled', 'mode', 'readonly', 'toggleIcon', 'toggleIconSlot', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-accordion',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['disabled', 'mode', 'readonly', 'toggleIcon', 'toggleIconSlot', 'value']
|
|
})
|
|
export class IonAccordion {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
import type { AccordionGroupChangeEventDetail as IAccordionGroupAccordionGroupChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonAccordionGroup extends Components.IonAccordionGroup {
|
|
/**
|
|
* Emitted when the value property has changed
|
|
as a result of a user action such as a click.
|
|
This event will not emit when programmatically setting
|
|
the value property.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<IAccordionGroupAccordionGroupChangeEventDetail>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-accordion-group',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value']
|
|
})
|
|
export class IonAccordionGroup {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionChange']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonApp extends Components.IonApp {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined
|
|
})
|
|
@Component({
|
|
selector: 'ion-app',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>'
|
|
})
|
|
export class IonApp {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonAvatar extends Components.IonAvatar {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined
|
|
})
|
|
@Component({
|
|
selector: 'ion-avatar',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>'
|
|
})
|
|
export class IonAvatar {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonBackButton extends Components.IonBackButton {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'defaultHref', 'disabled', 'icon', 'mode', 'routerAnimation', 'text', 'type']
|
|
})
|
|
@Component({
|
|
selector: 'ion-back-button',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'defaultHref', 'disabled', 'icon', 'mode', 'routerAnimation', 'text', 'type']
|
|
})
|
|
export class IonBackButton {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonBackdrop extends Components.IonBackdrop {
|
|
/**
|
|
* Emitted when the backdrop is tapped.
|
|
*/
|
|
ionBackdropTap: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['stopPropagation', 'tappable', 'visible']
|
|
})
|
|
@Component({
|
|
selector: 'ion-backdrop',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['stopPropagation', 'tappable', 'visible']
|
|
})
|
|
export class IonBackdrop {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionBackdropTap']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonBadge extends Components.IonBadge {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-badge',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode']
|
|
})
|
|
export class IonBadge {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonBreadcrumb extends Components.IonBreadcrumb {
|
|
/**
|
|
* Emitted when the breadcrumb has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the breadcrumb loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['active', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'separator', 'target']
|
|
})
|
|
@Component({
|
|
selector: 'ion-breadcrumb',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['active', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'separator', 'target']
|
|
})
|
|
export class IonBreadcrumb {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
|
|
}
|
|
}
|
|
|
|
import type { BreadcrumbCollapsedClickEventDetail as IBreadcrumbsBreadcrumbCollapsedClickEventDetail } from '@ionic/core';
|
|
export declare interface IonBreadcrumbs extends Components.IonBreadcrumbs {
|
|
/**
|
|
* Emitted when the collapsed indicator is clicked on.
|
|
*/
|
|
ionCollapsedClick: EventEmitter<CustomEvent<IBreadcrumbsBreadcrumbCollapsedClickEventDetail>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'itemsAfterCollapse', 'itemsBeforeCollapse', 'maxItems', 'mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-breadcrumbs',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'itemsAfterCollapse', 'itemsBeforeCollapse', 'maxItems', 'mode']
|
|
})
|
|
export class IonBreadcrumbs {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionCollapsedClick']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonButton extends Components.IonButton {
|
|
/**
|
|
* Emitted when the button has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the button loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['buttonType', 'color', 'disabled', 'download', 'expand', 'fill', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'size', 'strong', 'target', 'type']
|
|
})
|
|
@Component({
|
|
selector: 'ion-button',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['buttonType', 'color', 'disabled', 'download', 'expand', 'fill', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'size', 'strong', 'target', 'type']
|
|
})
|
|
export class IonButton {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonButtons extends Components.IonButtons {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['collapse']
|
|
})
|
|
@Component({
|
|
selector: 'ion-buttons',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['collapse']
|
|
})
|
|
export class IonButtons {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonCard extends Components.IonCard {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['button', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'target', 'type']
|
|
})
|
|
@Component({
|
|
selector: 'ion-card',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['button', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'target', 'type']
|
|
})
|
|
export class IonCard {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonCardContent extends Components.IonCardContent {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-card-content',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['mode']
|
|
})
|
|
export class IonCardContent {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonCardHeader extends Components.IonCardHeader {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode', 'translucent']
|
|
})
|
|
@Component({
|
|
selector: 'ion-card-header',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode', 'translucent']
|
|
})
|
|
export class IonCardHeader {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonCardSubtitle extends Components.IonCardSubtitle {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-card-subtitle',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode']
|
|
})
|
|
export class IonCardSubtitle {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonCardTitle extends Components.IonCardTitle {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-card-title',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode']
|
|
})
|
|
export class IonCardTitle {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
import type { CheckboxChangeEventDetail as ICheckboxCheckboxChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonCheckbox extends Components.IonCheckbox {
|
|
/**
|
|
* Emitted when the checked property has changed
|
|
as a result of a user action such as a click.
|
|
This event will not emit when programmatically
|
|
setting the checked property.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<ICheckboxCheckboxChangeEventDetail>>;
|
|
/**
|
|
* Emitted when the checkbox has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the checkbox loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['checked', 'color', 'disabled', 'indeterminate', 'mode', 'name', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-checkbox',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['checked', 'color', 'disabled', 'indeterminate', 'mode', 'name', 'value']
|
|
})
|
|
export class IonCheckbox {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonChip extends Components.IonChip {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'disabled', 'mode', 'outline']
|
|
})
|
|
@Component({
|
|
selector: 'ion-chip',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'disabled', 'mode', 'outline']
|
|
})
|
|
export class IonChip {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonCol extends Components.IonCol {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['offset', 'offsetLg', 'offsetMd', 'offsetSm', 'offsetXl', 'offsetXs', 'pull', 'pullLg', 'pullMd', 'pullSm', 'pullXl', 'pullXs', 'push', 'pushLg', 'pushMd', 'pushSm', 'pushXl', 'pushXs', 'size', 'sizeLg', 'sizeMd', 'sizeSm', 'sizeXl', 'sizeXs']
|
|
})
|
|
@Component({
|
|
selector: 'ion-col',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['offset', 'offsetLg', 'offsetMd', 'offsetSm', 'offsetXl', 'offsetXs', 'pull', 'pullLg', 'pullMd', 'pullSm', 'pullXl', 'pullXs', 'push', 'pushLg', 'pushMd', 'pushSm', 'pushXl', 'pushXs', 'size', 'sizeLg', 'sizeMd', 'sizeSm', 'sizeXl', 'sizeXs']
|
|
})
|
|
export class IonCol {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
import type { ScrollBaseDetail as IContentScrollBaseDetail } from '@ionic/core';
|
|
import type { ScrollDetail as IContentScrollDetail } from '@ionic/core';
|
|
export declare interface IonContent extends Components.IonContent {
|
|
/**
|
|
* Emitted when the scroll has started. This event is disabled by default.
|
|
Set `scrollEvents` to `true` to enable.
|
|
*/
|
|
ionScrollStart: EventEmitter<CustomEvent<IContentScrollBaseDetail>>;
|
|
/**
|
|
* Emitted while scrolling. This event is disabled by default.
|
|
Set `scrollEvents` to `true` to enable.
|
|
*/
|
|
ionScroll: EventEmitter<CustomEvent<IContentScrollDetail>>;
|
|
/**
|
|
* Emitted when the scroll has ended. This event is disabled by default.
|
|
Set `scrollEvents` to `true` to enable.
|
|
*/
|
|
ionScrollEnd: EventEmitter<CustomEvent<IContentScrollBaseDetail>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'forceOverscroll', 'fullscreen', 'scrollEvents', 'scrollX', 'scrollY'],
|
|
methods: ['getScrollElement', 'scrollToTop', 'scrollToBottom', 'scrollByPoint', 'scrollToPoint']
|
|
})
|
|
@Component({
|
|
selector: 'ion-content',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'forceOverscroll', 'fullscreen', 'scrollEvents', 'scrollX', 'scrollY']
|
|
})
|
|
export class IonContent {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionScrollStart', 'ionScroll', 'ionScrollEnd']);
|
|
}
|
|
}
|
|
|
|
import type { DatetimeChangeEventDetail as IDatetimeDatetimeChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonDatetime extends Components.IonDatetime {
|
|
/**
|
|
* Emitted when the datetime selection was cancelled.
|
|
*/
|
|
ionCancel: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the value (selected date) has changed.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<IDatetimeDatetimeChangeEventDetail>>;
|
|
/**
|
|
* Emitted when the datetime has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the datetime loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['cancelText', 'clearText', 'color', 'dayValues', 'disabled', 'doneText', 'firstDayOfWeek', 'hourCycle', 'hourValues', 'isDateEnabled', 'locale', 'max', 'min', 'minuteValues', 'mode', 'monthValues', 'multiple', 'name', 'preferWheel', 'presentation', 'readonly', 'showClearButton', 'showDefaultButtons', 'showDefaultTimeLabel', 'showDefaultTitle', 'size', 'value', 'yearValues'],
|
|
methods: ['confirm', 'reset', 'cancel']
|
|
})
|
|
@Component({
|
|
selector: 'ion-datetime',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['cancelText', 'clearText', 'color', 'dayValues', 'disabled', 'doneText', 'firstDayOfWeek', 'hourCycle', 'hourValues', 'isDateEnabled', 'locale', 'max', 'min', 'minuteValues', 'mode', 'monthValues', 'multiple', 'name', 'preferWheel', 'presentation', 'readonly', 'showClearButton', 'showDefaultButtons', 'showDefaultTimeLabel', 'showDefaultTitle', 'size', 'value', 'yearValues']
|
|
})
|
|
export class IonDatetime {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonDatetimeButton extends Components.IonDatetimeButton {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'datetime', 'disabled', 'mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-datetime-button',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'datetime', 'disabled', 'mode']
|
|
})
|
|
export class IonDatetimeButton {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonFab extends Components.IonFab {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['activated', 'edge', 'horizontal', 'vertical'],
|
|
methods: ['close']
|
|
})
|
|
@Component({
|
|
selector: 'ion-fab',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['activated', 'edge', 'horizontal', 'vertical']
|
|
})
|
|
export class IonFab {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonFabButton extends Components.IonFabButton {
|
|
/**
|
|
* Emitted when the button has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the button loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['activated', 'closeIcon', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'show', 'size', 'target', 'translucent', 'type']
|
|
})
|
|
@Component({
|
|
selector: 'ion-fab-button',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['activated', 'closeIcon', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'show', 'size', 'target', 'translucent', 'type']
|
|
})
|
|
export class IonFabButton {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonFabList extends Components.IonFabList {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['activated', 'side']
|
|
})
|
|
@Component({
|
|
selector: 'ion-fab-list',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['activated', 'side']
|
|
})
|
|
export class IonFabList {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonFooter extends Components.IonFooter {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['collapse', 'mode', 'translucent']
|
|
})
|
|
@Component({
|
|
selector: 'ion-footer',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['collapse', 'mode', 'translucent']
|
|
})
|
|
export class IonFooter {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonGrid extends Components.IonGrid {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['fixed']
|
|
})
|
|
@Component({
|
|
selector: 'ion-grid',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['fixed']
|
|
})
|
|
export class IonGrid {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonHeader extends Components.IonHeader {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['collapse', 'mode', 'translucent']
|
|
})
|
|
@Component({
|
|
selector: 'ion-header',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['collapse', 'mode', 'translucent']
|
|
})
|
|
export class IonHeader {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonIcon extends Components.IonIcon {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src']
|
|
})
|
|
@Component({
|
|
selector: 'ion-icon',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src']
|
|
})
|
|
export class IonIcon {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonImg extends Components.IonImg {
|
|
/**
|
|
* Emitted when the img src has been set
|
|
*/
|
|
ionImgWillLoad: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the image has finished loading
|
|
*/
|
|
ionImgDidLoad: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the img fails to load
|
|
*/
|
|
ionError: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['alt', 'src']
|
|
})
|
|
@Component({
|
|
selector: 'ion-img',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['alt', 'src']
|
|
})
|
|
export class IonImg {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionImgWillLoad', 'ionImgDidLoad', 'ionError']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonInfiniteScroll extends Components.IonInfiniteScroll {
|
|
/**
|
|
* Emitted when the scroll reaches
|
|
the threshold distance. From within your infinite handler,
|
|
you must call the infinite scroll's `complete()` method when
|
|
your async operation has completed.
|
|
*/
|
|
ionInfinite: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['disabled', 'position', 'threshold'],
|
|
methods: ['complete']
|
|
})
|
|
@Component({
|
|
selector: 'ion-infinite-scroll',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['disabled', 'position', 'threshold']
|
|
})
|
|
export class IonInfiniteScroll {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionInfinite']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonInfiniteScrollContent extends Components.IonInfiniteScrollContent {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['loadingSpinner', 'loadingText']
|
|
})
|
|
@Component({
|
|
selector: 'ion-infinite-scroll-content',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['loadingSpinner', 'loadingText']
|
|
})
|
|
export class IonInfiniteScrollContent {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
import type { InputInputEventDetail as IInputInputInputEventDetail } from '@ionic/core';
|
|
import type { InputChangeEventDetail as IInputInputChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonInput extends Components.IonInput {
|
|
/**
|
|
* The `ionInput` event fires when the `value` of an `<ion-input>` element
|
|
has been changed.
|
|
|
|
For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
|
|
is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
|
|
the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event).
|
|
*/
|
|
ionInput: EventEmitter<CustomEvent<IInputInputInputEventDetail>>;
|
|
/**
|
|
* The `ionChange` event is fired for `<ion-input>` elements when the user
|
|
modifies the element's value. Unlike the `ionInput` event, the `ionChange`
|
|
event is not necessarily fired for each alteration to an element's value.
|
|
|
|
Depending on the way the users interacts with the element, the `ionChange`
|
|
event fires at a different moment:
|
|
- When the user commits the change explicitly (e.g. by selecting a date
|
|
from a date picker for `<ion-input type="date">`, etc.).
|
|
- When the element loses focus after its value has changed: for elements
|
|
where the user's interaction is typing.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<IInputInputChangeEventDetail>>;
|
|
/**
|
|
* Emitted when the input loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<FocusEvent>>;
|
|
/**
|
|
* Emitted when the input has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<FocusEvent>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['accept', 'autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearInput', 'clearOnEdit', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'max', 'maxlength', 'min', 'minlength', 'mode', 'multiple', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'type', 'value'],
|
|
methods: ['setFocus', 'getInputElement']
|
|
})
|
|
@Component({
|
|
selector: 'ion-input',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['accept', 'autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearInput', 'clearOnEdit', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'max', 'maxlength', 'min', 'minlength', 'mode', 'multiple', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'type', 'value']
|
|
})
|
|
export class IonInput {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonItem extends Components.IonItem {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['button', 'color', 'counter', 'counterFormatter', 'detail', 'detailIcon', 'disabled', 'download', 'fill', 'href', 'lines', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'target', 'type']
|
|
})
|
|
@Component({
|
|
selector: 'ion-item',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['button', 'color', 'counter', 'counterFormatter', 'detail', 'detailIcon', 'disabled', 'download', 'fill', 'href', 'lines', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'target', 'type']
|
|
})
|
|
export class IonItem {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonItemDivider extends Components.IonItemDivider {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode', 'sticky']
|
|
})
|
|
@Component({
|
|
selector: 'ion-item-divider',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode', 'sticky']
|
|
})
|
|
export class IonItemDivider {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonItemGroup extends Components.IonItemGroup {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined
|
|
})
|
|
@Component({
|
|
selector: 'ion-item-group',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>'
|
|
})
|
|
export class IonItemGroup {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonItemOption extends Components.IonItemOption {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'target', 'type']
|
|
})
|
|
@Component({
|
|
selector: 'ion-item-option',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'target', 'type']
|
|
})
|
|
export class IonItemOption {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonItemOptions extends Components.IonItemOptions {
|
|
/**
|
|
* Emitted when the item has been fully swiped.
|
|
*/
|
|
ionSwipe: EventEmitter<CustomEvent<any>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['side']
|
|
})
|
|
@Component({
|
|
selector: 'ion-item-options',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['side']
|
|
})
|
|
export class IonItemOptions {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionSwipe']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonItemSliding extends Components.IonItemSliding {
|
|
/**
|
|
* Emitted when the sliding position changes.
|
|
*/
|
|
ionDrag: EventEmitter<CustomEvent<any>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['disabled'],
|
|
methods: ['getOpenAmount', 'getSlidingRatio', 'open', 'close', 'closeOpened']
|
|
})
|
|
@Component({
|
|
selector: 'ion-item-sliding',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['disabled']
|
|
})
|
|
export class IonItemSliding {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionDrag']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonLabel extends Components.IonLabel {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode', 'position']
|
|
})
|
|
@Component({
|
|
selector: 'ion-label',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode', 'position']
|
|
})
|
|
export class IonLabel {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonList extends Components.IonList {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['inset', 'lines', 'mode'],
|
|
methods: ['closeSlidingItems']
|
|
})
|
|
@Component({
|
|
selector: 'ion-list',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['inset', 'lines', 'mode']
|
|
})
|
|
export class IonList {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonListHeader extends Components.IonListHeader {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'lines', 'mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-list-header',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'lines', 'mode']
|
|
})
|
|
export class IonListHeader {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonMenu extends Components.IonMenu {
|
|
/**
|
|
* Emitted when the menu is about to be opened.
|
|
*/
|
|
ionWillOpen: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the menu is about to be closed.
|
|
*/
|
|
ionWillClose: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the menu is open.
|
|
*/
|
|
ionDidOpen: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the menu is closed.
|
|
*/
|
|
ionDidClose: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['contentId', 'disabled', 'maxEdgeStart', 'menuId', 'side', 'swipeGesture', 'type'],
|
|
methods: ['isOpen', 'isActive', 'open', 'close', 'toggle', 'setOpen']
|
|
})
|
|
@Component({
|
|
selector: 'ion-menu',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['contentId', 'disabled', 'maxEdgeStart', 'menuId', 'side', 'swipeGesture', 'type']
|
|
})
|
|
export class IonMenu {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionWillOpen', 'ionWillClose', 'ionDidOpen', 'ionDidClose']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonMenuButton extends Components.IonMenuButton {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['autoHide', 'color', 'disabled', 'menu', 'mode', 'type']
|
|
})
|
|
@Component({
|
|
selector: 'ion-menu-button',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['autoHide', 'color', 'disabled', 'menu', 'mode', 'type']
|
|
})
|
|
export class IonMenuButton {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonMenuToggle extends Components.IonMenuToggle {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['autoHide', 'menu']
|
|
})
|
|
@Component({
|
|
selector: 'ion-menu-toggle',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['autoHide', 'menu']
|
|
})
|
|
export class IonMenuToggle {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonNav extends Components.IonNav {
|
|
/**
|
|
* Event fired when the nav will change components
|
|
*/
|
|
ionNavWillChange: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Event fired when the nav has changed components
|
|
*/
|
|
ionNavDidChange: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['animated', 'animation', 'root', 'rootParams', 'swipeGesture'],
|
|
methods: ['push', 'insert', 'insertPages', 'pop', 'popTo', 'popToRoot', 'removeIndex', 'setRoot', 'setPages', 'getActive', 'getByIndex', 'canGoBack', 'getPrevious']
|
|
})
|
|
@Component({
|
|
selector: 'ion-nav',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['animated', 'animation', 'root', 'rootParams', 'swipeGesture']
|
|
})
|
|
export class IonNav {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionNavWillChange', 'ionNavDidChange']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonNavLink extends Components.IonNavLink {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['component', 'componentProps', 'routerAnimation', 'routerDirection']
|
|
})
|
|
@Component({
|
|
selector: 'ion-nav-link',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['component', 'componentProps', 'routerAnimation', 'routerDirection']
|
|
})
|
|
export class IonNavLink {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonNote extends Components.IonNote {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-note',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode']
|
|
})
|
|
export class IonNote {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonProgressBar extends Components.IonProgressBar {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['buffer', 'color', 'mode', 'reversed', 'type', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-progress-bar',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['buffer', 'color', 'mode', 'reversed', 'type', 'value']
|
|
})
|
|
export class IonProgressBar {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonRadio extends Components.IonRadio {
|
|
/**
|
|
* Emitted when the radio button has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the radio button loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'disabled', 'mode', 'name', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-radio',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'disabled', 'mode', 'name', 'value']
|
|
})
|
|
export class IonRadio {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
|
|
}
|
|
}
|
|
|
|
import type { RadioGroupChangeEventDetail as IRadioGroupRadioGroupChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonRadioGroup extends Components.IonRadioGroup {
|
|
/**
|
|
* Emitted when the value has changed.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<IRadioGroupRadioGroupChangeEventDetail>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['allowEmptySelection', 'name', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-radio-group',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['allowEmptySelection', 'name', 'value']
|
|
})
|
|
export class IonRadioGroup {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionChange']);
|
|
}
|
|
}
|
|
|
|
import type { RangeChangeEventDetail as IRangeRangeChangeEventDetail } from '@ionic/core';
|
|
import type { RangeKnobMoveStartEventDetail as IRangeRangeKnobMoveStartEventDetail } from '@ionic/core';
|
|
import type { RangeKnobMoveEndEventDetail as IRangeRangeKnobMoveEndEventDetail } from '@ionic/core';
|
|
export declare interface IonRange extends Components.IonRange {
|
|
/**
|
|
* Emitted when the value property has changed.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<IRangeRangeChangeEventDetail>>;
|
|
/**
|
|
* Emitted when the range has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the range loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the user starts moving the range knob, whether through
|
|
mouse drag, touch gesture, or keyboard interaction.
|
|
*/
|
|
ionKnobMoveStart: EventEmitter<CustomEvent<IRangeRangeKnobMoveStartEventDetail>>;
|
|
/**
|
|
* Emitted when the user finishes moving the range knob, whether through
|
|
mouse drag, touch gesture, or keyboard interaction.
|
|
*/
|
|
ionKnobMoveEnd: EventEmitter<CustomEvent<IRangeRangeKnobMoveEndEventDetail>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['activeBarStart', 'color', 'debounce', 'disabled', 'dualKnobs', 'max', 'min', 'mode', 'name', 'pin', 'pinFormatter', 'snaps', 'step', 'ticks', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-range',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['activeBarStart', 'color', 'debounce', 'disabled', 'dualKnobs', 'max', 'min', 'mode', 'name', 'pin', 'pinFormatter', 'snaps', 'step', 'ticks', 'value']
|
|
})
|
|
export class IonRange {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
|
|
}
|
|
}
|
|
|
|
import type { RefresherEventDetail as IRefresherRefresherEventDetail } from '@ionic/core';
|
|
export declare interface IonRefresher extends Components.IonRefresher {
|
|
/**
|
|
* Emitted when the user lets go of the content and has pulled down
|
|
further than the `pullMin` or pulls the content down and exceeds the pullMax.
|
|
Updates the refresher state to `refreshing`. The `complete()` method should be
|
|
called when the async operation has completed.
|
|
*/
|
|
ionRefresh: EventEmitter<CustomEvent<IRefresherRefresherEventDetail>>;
|
|
/**
|
|
* Emitted while the user is pulling down the content and exposing the refresher.
|
|
*/
|
|
ionPull: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the user begins to start pulling down.
|
|
*/
|
|
ionStart: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['closeDuration', 'disabled', 'pullFactor', 'pullMax', 'pullMin', 'snapbackDuration'],
|
|
methods: ['complete', 'cancel', 'getProgress']
|
|
})
|
|
@Component({
|
|
selector: 'ion-refresher',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['closeDuration', 'disabled', 'pullFactor', 'pullMax', 'pullMin', 'snapbackDuration']
|
|
})
|
|
export class IonRefresher {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionRefresh', 'ionPull', 'ionStart']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonRefresherContent extends Components.IonRefresherContent {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['pullingIcon', 'pullingText', 'refreshingSpinner', 'refreshingText']
|
|
})
|
|
@Component({
|
|
selector: 'ion-refresher-content',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['pullingIcon', 'pullingText', 'refreshingSpinner', 'refreshingText']
|
|
})
|
|
export class IonRefresherContent {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonReorder extends Components.IonReorder {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined
|
|
})
|
|
@Component({
|
|
selector: 'ion-reorder',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>'
|
|
})
|
|
export class IonReorder {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
import type { ItemReorderEventDetail as IReorderGroupItemReorderEventDetail } from '@ionic/core';
|
|
export declare interface IonReorderGroup extends Components.IonReorderGroup {
|
|
/**
|
|
* Event that needs to be listened to in order to complete the reorder action.
|
|
Once the event has been emitted, the `complete()` method then needs
|
|
to be called in order to finalize the reorder action.
|
|
*/
|
|
ionItemReorder: EventEmitter<CustomEvent<IReorderGroupItemReorderEventDetail>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['disabled'],
|
|
methods: ['complete']
|
|
})
|
|
@Component({
|
|
selector: 'ion-reorder-group',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['disabled']
|
|
})
|
|
export class IonReorderGroup {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionItemReorder']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonRippleEffect extends Components.IonRippleEffect {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['type'],
|
|
methods: ['addRipple']
|
|
})
|
|
@Component({
|
|
selector: 'ion-ripple-effect',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['type']
|
|
})
|
|
export class IonRippleEffect {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonRow extends Components.IonRow {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined
|
|
})
|
|
@Component({
|
|
selector: 'ion-row',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>'
|
|
})
|
|
export class IonRow {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
import type { SearchbarChangeEventDetail as ISearchbarSearchbarChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonSearchbar extends Components.IonSearchbar {
|
|
/**
|
|
* Emitted when a keyboard input occurred.
|
|
*/
|
|
ionInput: EventEmitter<CustomEvent<KeyboardEvent>>;
|
|
/**
|
|
* Emitted when the value has changed.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<ISearchbarSearchbarChangeEventDetail>>;
|
|
/**
|
|
* Emitted when the cancel button is clicked.
|
|
*/
|
|
ionCancel: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the clear input button is clicked.
|
|
*/
|
|
ionClear: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the input loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the input has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['animated', 'autocomplete', 'autocorrect', 'cancelButtonIcon', 'cancelButtonText', 'clearIcon', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'mode', 'placeholder', 'searchIcon', 'showCancelButton', 'showClearButton', 'spellcheck', 'type', 'value'],
|
|
methods: ['setFocus', 'getInputElement']
|
|
})
|
|
@Component({
|
|
selector: 'ion-searchbar',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['animated', 'autocomplete', 'autocorrect', 'cancelButtonIcon', 'cancelButtonText', 'clearIcon', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'mode', 'placeholder', 'searchIcon', 'showCancelButton', 'showClearButton', 'spellcheck', 'type', 'value']
|
|
})
|
|
export class IonSearchbar {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
|
|
}
|
|
}
|
|
|
|
import type { SegmentChangeEventDetail as ISegmentSegmentChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonSegment extends Components.IonSegment {
|
|
/**
|
|
* Emitted when the value property has changed and any
|
|
dragging pointer has been released from `ion-segment`.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<ISegmentSegmentChangeEventDetail>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-segment',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value']
|
|
})
|
|
export class IonSegment {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionChange']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonSegmentButton extends Components.IonSegmentButton {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['disabled', 'layout', 'mode', 'type', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-segment-button',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['disabled', 'layout', 'mode', 'type', 'value']
|
|
})
|
|
export class IonSegmentButton {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
import type { SelectChangeEventDetail as ISelectSelectChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonSelect extends Components.IonSelect {
|
|
/**
|
|
* Emitted when the value has changed.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<ISelectSelectChangeEventDetail>>;
|
|
/**
|
|
* Emitted when the selection is cancelled.
|
|
*/
|
|
ionCancel: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the overlay is dismissed.
|
|
*/
|
|
ionDismiss: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the select has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the select loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['cancelText', 'compareWith', 'disabled', 'interface', 'interfaceOptions', 'mode', 'multiple', 'name', 'okText', 'placeholder', 'selectedText', 'value'],
|
|
methods: ['open']
|
|
})
|
|
@Component({
|
|
selector: 'ion-select',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['cancelText', 'compareWith', 'disabled', 'interface', 'interfaceOptions', 'mode', 'multiple', 'name', 'okText', 'placeholder', 'selectedText', 'value']
|
|
})
|
|
export class IonSelect {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonSelectOption extends Components.IonSelectOption {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['disabled', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-select-option',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['disabled', 'value']
|
|
})
|
|
export class IonSelectOption {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonSkeletonText extends Components.IonSkeletonText {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['animated']
|
|
})
|
|
@Component({
|
|
selector: 'ion-skeleton-text',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['animated']
|
|
})
|
|
export class IonSkeletonText {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonSpinner extends Components.IonSpinner {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'duration', 'name', 'paused']
|
|
})
|
|
@Component({
|
|
selector: 'ion-spinner',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'duration', 'name', 'paused']
|
|
})
|
|
export class IonSpinner {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonSplitPane extends Components.IonSplitPane {
|
|
/**
|
|
* Expression to be called when the split-pane visibility has changed
|
|
*/
|
|
ionSplitPaneVisible: EventEmitter<CustomEvent<{ visible: boolean }>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['contentId', 'disabled', 'when']
|
|
})
|
|
@Component({
|
|
selector: 'ion-split-pane',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['contentId', 'disabled', 'when']
|
|
})
|
|
export class IonSplitPane {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionSplitPaneVisible']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonTabBar extends Components.IonTabBar {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode', 'selectedTab', 'translucent']
|
|
})
|
|
@Component({
|
|
selector: 'ion-tab-bar',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode', 'selectedTab', 'translucent']
|
|
})
|
|
export class IonTabBar {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonTabButton extends Components.IonTabButton {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['disabled', 'download', 'href', 'layout', 'mode', 'rel', 'selected', 'tab', 'target']
|
|
})
|
|
@Component({
|
|
selector: 'ion-tab-button',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['disabled', 'download', 'href', 'layout', 'mode', 'rel', 'selected', 'tab', 'target']
|
|
})
|
|
export class IonTabButton {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonText extends Components.IonText {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-text',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode']
|
|
})
|
|
export class IonText {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
import type { TextareaChangeEventDetail as ITextareaTextareaChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonTextarea extends Components.IonTextarea {
|
|
/**
|
|
* The `ionChange` event is fired for `<ion-textarea>` elements when the user
|
|
modifies the element's value. Unlike the `ionInput` event, the `ionChange`
|
|
event is not necessarily fired for each alteration to an element's value.
|
|
|
|
The `ionChange` event is fired when the element loses focus after its value
|
|
has been modified.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<ITextareaTextareaChangeEventDetail>>;
|
|
/**
|
|
* Ths `ionInput` event fires when the `value` of an `<ion-textarea>` element
|
|
has been changed.
|
|
*/
|
|
ionInput: EventEmitter<CustomEvent<InputEvent | null>>;
|
|
/**
|
|
* Emitted when the input loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<FocusEvent>>;
|
|
/**
|
|
* Emitted when the input has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<FocusEvent>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['autoGrow', 'autocapitalize', 'autofocus', 'clearOnEdit', 'color', 'cols', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'maxlength', 'minlength', 'mode', 'name', 'placeholder', 'readonly', 'required', 'rows', 'spellcheck', 'value', 'wrap'],
|
|
methods: ['setFocus', 'getInputElement']
|
|
})
|
|
@Component({
|
|
selector: 'ion-textarea',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['autoGrow', 'autocapitalize', 'autofocus', 'clearOnEdit', 'color', 'cols', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'maxlength', 'minlength', 'mode', 'name', 'placeholder', 'readonly', 'required', 'rows', 'spellcheck', 'value', 'wrap']
|
|
})
|
|
export class IonTextarea {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonThumbnail extends Components.IonThumbnail {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined
|
|
})
|
|
@Component({
|
|
selector: 'ion-thumbnail',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>'
|
|
})
|
|
export class IonThumbnail {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonTitle extends Components.IonTitle {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'size']
|
|
})
|
|
@Component({
|
|
selector: 'ion-title',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'size']
|
|
})
|
|
export class IonTitle {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|
|
|
|
import type { ToggleChangeEventDetail as IToggleToggleChangeEventDetail } from '@ionic/core';
|
|
export declare interface IonToggle extends Components.IonToggle {
|
|
/**
|
|
* Emitted when the value property has changed.
|
|
*/
|
|
ionChange: EventEmitter<CustomEvent<IToggleToggleChangeEventDetail>>;
|
|
/**
|
|
* Emitted when the toggle has focus.
|
|
*/
|
|
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
/**
|
|
* Emitted when the toggle loses focus.
|
|
*/
|
|
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
|
|
}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['checked', 'color', 'disabled', 'enableOnOffLabels', 'mode', 'name', 'value']
|
|
})
|
|
@Component({
|
|
selector: 'ion-toggle',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['checked', 'color', 'disabled', 'enableOnOffLabels', 'mode', 'name', 'value']
|
|
})
|
|
export class IonToggle {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
|
|
}
|
|
}
|
|
|
|
|
|
export declare interface IonToolbar extends Components.IonToolbar {}
|
|
|
|
@ProxyCmp({
|
|
defineCustomElementFn: undefined,
|
|
inputs: ['color', 'mode']
|
|
})
|
|
@Component({
|
|
selector: 'ion-toolbar',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
template: '<ng-content></ng-content>',
|
|
inputs: ['color', 'mode']
|
|
})
|
|
export class IonToolbar {
|
|
protected el: HTMLElement;
|
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
c.detach();
|
|
this.el = r.nativeElement;
|
|
}
|
|
}
|