mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
fix(modal): expose breakpoint props in ModalOptions interface (#23867)
resolves #23866
This commit is contained in:
@ -17,6 +17,11 @@ export interface ModalOptions<T extends ComponentRef = ComponentRef> {
|
||||
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
|
||||
breakpoints?: number[];
|
||||
initialBreakpoint?: number;
|
||||
backdropBreakpoint?: number;
|
||||
handle?: boolean;
|
||||
}
|
||||
|
||||
export interface ModalAnimationOptions {
|
||||
|
@ -147,6 +147,11 @@ interface ModalOptions<T extends ComponentRef = ComponentRef> {
|
||||
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
|
||||
breakpoints?: number[];
|
||||
initialBreakpoint?: number;
|
||||
backdropBreakpoint?: number;
|
||||
handle?: boolean;
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user