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

@@ -181,7 +181,7 @@ name: 'popover-open-example'
In this example, leveraging [`defineShortcuts`](/composables/define-shortcuts), you can toggle the Popover by pressing :kbd{value="O"}.
::
### Prevent closing
### Disable dismissal
Set the `dismissible` prop to `false` to prevent the Popover 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.