Skip to content

Commit 70f5d79

Browse files
committed
docs: overlayBehavior
1 parent 5f597f8 commit 70f5d79

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/content/3.api/1.components/1.vue-final-modal.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ Hide the overlay or not.
7373
- JS: `Boolean`{lang=ts}
7474
- TS: `PropType<boolean>`{lang=ts}
7575
- Default: `undefined`{lang=ts}
76+
-
77+
### overlayBehavior
78+
79+
Hide the overlay or not.
80+
- Type:
81+
- JS: `String`{lang=ts}
82+
- TS: `PropType<'auto' | 'persist'>`{lang=ts}
83+
- Default: `auto`{lang=ts}
84+
- By default, the value of `overlayBehavior` will be `auto`. This means that when you open multiple modals, only the overlay of the top modal will be displayed. On the other hand, if you set the modal's `overlayBehavior` to `persist`, the modal's overlay will always be visible, allowing you to have multiple overlays at the same time.
7685

7786
### overlayTransition
7887

0 commit comments

Comments
 (0)