From 5fd80fd43885a5d0cd65f0eef4e0ff15e82c4fe0 Mon Sep 17 00:00:00 2001 From: William Martin Date: Tue, 7 Sep 2021 10:55:50 -0400 Subject: [PATCH] fix(modal): expose breakpoint props in ModalOptions interface (#23867) resolves #23866 --- core/src/components/modal/modal-interface.ts | 5 +++++ core/src/components/modal/readme.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/core/src/components/modal/modal-interface.ts b/core/src/components/modal/modal-interface.ts index 5656b4963a..c957945498 100644 --- a/core/src/components/modal/modal-interface.ts +++ b/core/src/components/modal/modal-interface.ts @@ -17,6 +17,11 @@ export interface ModalOptions { enterAnimation?: AnimationBuilder; leaveAnimation?: AnimationBuilder; + + breakpoints?: number[]; + initialBreakpoint?: number; + backdropBreakpoint?: number; + handle?: boolean; } export interface ModalAnimationOptions { diff --git a/core/src/components/modal/readme.md b/core/src/components/modal/readme.md index f7b852bce4..8ac2b9a208 100644 --- a/core/src/components/modal/readme.md +++ b/core/src/components/modal/readme.md @@ -147,6 +147,11 @@ interface ModalOptions { enterAnimation?: AnimationBuilder; leaveAnimation?: AnimationBuilder; + + breakpoints?: number[]; + initialBreakpoint?: number; + backdropBreakpoint?: number; + handle?: boolean; } ```