feat(overlays): expose animation customization

This commit is contained in:
Manu Mtz.-Almeida
2018-10-04 17:21:15 +02:00
parent f63c0f5ccc
commit dc976cc745
7 changed files with 25 additions and 8 deletions

View File

@ -5,8 +5,6 @@ export interface ModalOptions<T extends ComponentRef = ComponentRef> {
componentProps?: ComponentProps<T>;
showBackdrop?: boolean;
backdropDismiss?: boolean;
enterAnimation?: AnimationBuilder;
leaveAnimation?: AnimationBuilder;
cssClass?: string | string[];
delegate?: FrameworkDelegate;
animated?: boolean;
@ -14,4 +12,7 @@ export interface ModalOptions<T extends ComponentRef = ComponentRef> {
mode?: string;
keyboardClose?: boolean;
id?: string;
enterAnimation?: AnimationBuilder;
leaveAnimation?: AnimationBuilder;
}