mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
refactor(modal): remove swipeToClose in favor of canDismiss (#26050)
BREAKING CHANGE: - The `swipeToClose` property has been removed in favor of `canDismiss`. - The `canDismiss` property now defaults to `true` and can no longer be set to `undefined`.
This commit is contained in:
@ -71,7 +71,6 @@ export declare interface IonModal extends Components.IonModal {
|
||||
'mode',
|
||||
'presentingElement',
|
||||
'showBackdrop',
|
||||
'swipeToClose',
|
||||
'translucent',
|
||||
'trigger',
|
||||
],
|
||||
@ -102,7 +101,6 @@ export declare interface IonModal extends Components.IonModal {
|
||||
'mode',
|
||||
'presentingElement',
|
||||
'showBackdrop',
|
||||
'swipeToClose',
|
||||
'translucent',
|
||||
'trigger',
|
||||
],
|
||||
|
Reference in New Issue
Block a user