docs(drawer): add interactive background example

Resolves #4199
This commit is contained in:
Benjamin Canac
2025-05-23 12:24:03 +02:00
parent 41087d4c95
commit 0a72024361
6 changed files with 44 additions and 5 deletions

View File

@@ -274,7 +274,7 @@ In this example, leveraging [`defineShortcuts`](/composables/define-shortcuts),
This allows you to move the trigger outside of the Modal or remove it entirely.
::
### Prevent closing
### Disable dismissal
Set the `dismissible` prop to `false` to prevent the Modal from being closed when clicking outside of it or pressing escape. A `close:prevent` event will be emitted when the user tries to close it.