mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
25 lines
699 B
TypeScript
25 lines
699 B
TypeScript
import { JSXBase } from '@stencil/core/internal';
|
|
|
|
import { AnimationBuilder, Mode, SpinnerTypes } from '../../interface';
|
|
import { IonicSafeString } from '../../utils/sanitization';
|
|
|
|
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?: LoadingAttributes;
|
|
|
|
enterAnimation?: AnimationBuilder;
|
|
leaveAnimation?: AnimationBuilder;
|
|
}
|
|
|
|
export interface LoadingAttributes extends JSXBase.HTMLAttributes<HTMLElement> {}
|