mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
22 lines
630 B
TypeScript
22 lines
630 B
TypeScript
import type { AnimationBuilder, Mode } from '../../interface';
|
|
import type { IonicSafeString } from '../../utils/sanitization';
|
|
import type { SpinnerTypes } from '../spinner/spinner-configs';
|
|
|
|
export interface LoadingOptions {
|
|
spinner?: SpinnerTypes | null;
|
|
message?: string | IonicSafeString;
|
|
cssClass?: string | string[];
|
|
showBackdrop?: boolean;
|
|
duration?: number;
|
|
translucent?: boolean;
|
|
animated?: boolean;
|
|
backdropDismiss?: boolean;
|
|
mode?: Mode;
|
|
keyboardClose?: boolean;
|
|
id?: string;
|
|
htmlAttributes?: { [key: string]: any };
|
|
|
|
enterAnimation?: AnimationBuilder;
|
|
leaveAnimation?: AnimationBuilder;
|
|
}
|