@ionic/angular
Version:
Angular specific wrappers for @ionic/core
59 lines (58 loc) • 3.95 kB
TypeScript
import { ChangeDetectorRef, ElementRef, NgZone, EventEmitter } from '@angular/core';
import type { Components } from '@ionic/core/components';
import type { IonLoadingCustomEvent } from '@ionic/core/components';
import type { OverlayEventDetail as IIonLoadingOverlayEventDetail } from '@ionic/core/components';
import * as i0 from "@angular/core";
export declare class IonLoading {
protected z: NgZone;
protected el: HTMLIonLoadingElement;
ionLoadingDidPresent: EventEmitter<IonLoadingCustomEvent<void>>;
ionLoadingWillPresent: EventEmitter<IonLoadingCustomEvent<void>>;
ionLoadingWillDismiss: EventEmitter<IonLoadingCustomEvent<IIonLoadingOverlayEventDetail<any>>>;
ionLoadingDidDismiss: EventEmitter<IonLoadingCustomEvent<IIonLoadingOverlayEventDetail<any>>>;
didPresent: EventEmitter<IonLoadingCustomEvent<void>>;
willPresent: EventEmitter<IonLoadingCustomEvent<void>>;
willDismiss: EventEmitter<IonLoadingCustomEvent<IIonLoadingOverlayEventDetail<any>>>;
didDismiss: EventEmitter<IonLoadingCustomEvent<IIonLoadingOverlayEventDetail<any>>>;
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
static ɵfac: i0.ɵɵFactoryDeclaration<IonLoading, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IonLoading, "ion-loading", never, { "animated": { "alias": "animated"; "required": false; }; "backdropDismiss": { "alias": "backdropDismiss"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "enterAnimation": { "alias": "enterAnimation"; "required": false; }; "htmlAttributes": { "alias": "htmlAttributes"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "keyboardClose": { "alias": "keyboardClose"; "required": false; }; "leaveAnimation": { "alias": "leaveAnimation"; "required": false; }; "message": { "alias": "message"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; }; "spinner": { "alias": "spinner"; "required": false; }; "translucent": { "alias": "translucent"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; }, { "ionLoadingDidPresent": "ionLoadingDidPresent"; "ionLoadingWillPresent": "ionLoadingWillPresent"; "ionLoadingWillDismiss": "ionLoadingWillDismiss"; "ionLoadingDidDismiss": "ionLoadingDidDismiss"; "didPresent": "didPresent"; "willPresent": "willPresent"; "willDismiss": "willDismiss"; "didDismiss": "didDismiss"; }, never, ["*"], true, never>;
}
export declare interface IonLoading extends Components.IonLoading {
/**
* Emitted after the loading has presented.
*/
ionLoadingDidPresent: EventEmitter<IonLoadingCustomEvent<void>>;
/**
* Emitted before the loading has presented.
*/
ionLoadingWillPresent: EventEmitter<IonLoadingCustomEvent<void>>;
/**
* Emitted before the loading has dismissed.
*/
ionLoadingWillDismiss: EventEmitter<IonLoadingCustomEvent<IIonLoadingOverlayEventDetail>>;
/**
* Emitted after the loading has dismissed.
*/
ionLoadingDidDismiss: EventEmitter<IonLoadingCustomEvent<IIonLoadingOverlayEventDetail>>;
/**
* Emitted after the loading indicator has presented.
Shorthand for ionLoadingWillDismiss.
*/
didPresent: EventEmitter<IonLoadingCustomEvent<void>>;
/**
* Emitted before the loading indicator has presented.
Shorthand for ionLoadingWillPresent.
*/
willPresent: EventEmitter<IonLoadingCustomEvent<void>>;
/**
* Emitted before the loading indicator has dismissed.
Shorthand for ionLoadingWillDismiss.
*/
willDismiss: EventEmitter<IonLoadingCustomEvent<IIonLoadingOverlayEventDetail>>;
/**
* Emitted after the loading indicator has dismissed.
Shorthand for ionLoadingDidDismiss.
*/
didDismiss: EventEmitter<IonLoadingCustomEvent<IIonLoadingOverlayEventDetail>>;
}