mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
This commit also refactors ion-toast, so it uses shadow-dom, this is required since CSS variables does not work well in non-shadow-dom components. fixes #16099
19 lines
509 B
TypeScript
19 lines
509 B
TypeScript
import { AnimationBuilder, ComponentProps, ComponentRef, FrameworkDelegate, Mode } from '../../interface';
|
|
|
|
export interface ModalOptions<T extends ComponentRef = ComponentRef> {
|
|
component: T;
|
|
componentProps?: ComponentProps<T>;
|
|
showBackdrop?: boolean;
|
|
backdropDismiss?: boolean;
|
|
cssClass?: string | string[];
|
|
delegate?: FrameworkDelegate;
|
|
animated?: boolean;
|
|
|
|
mode?: Mode;
|
|
keyboardClose?: boolean;
|
|
id?: string;
|
|
|
|
enterAnimation?: AnimationBuilder;
|
|
leaveAnimation?: AnimationBuilder;
|
|
}
|