You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -300,15 +300,15 @@ toggle modal by name.
300
300
301
301
### `@before-open`
302
302
303
-
- Emits while modal is still invisible, but before transition starting.
303
+
- Emits while modal is still invisible, but before transition starting. Further opening of the modal can be blocked from this event listener by calling `event.stop()` .
304
304
305
305
### `@opened`
306
306
307
307
- Emits after modal became visible and transition ended.
308
308
309
309
### `@before-close`
310
310
311
-
- Emits before modal is going to be closed.
311
+
- Emits before modal is going to be closed. Further closing of the modal can be blocked from this event listener by calling `event.stop()` .
Copy file name to clipboardExpand all lines: docs/content/en/index.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Introduction
3
3
description: 'Vue Final Modal is a renderless, stackable, detachable and lightweight modal component.'
4
4
position: 0
5
5
category: Getting Start
6
-
version: 0.19
6
+
version: 0.20
7
7
features:
8
8
- Support Vue 3 and Vue 2
9
9
- Tailwind CSS friendly
@@ -489,20 +489,41 @@ If prop `clickToClose` is `false`, the event will still be emitted.
489
489
490
490
### `@before-open`
491
491
492
-
- Emits while modal is still invisible, but before transition starting.
492
+
- Emits while modal is still invisible, but before transition starting. Further opening of the modal can be blocked from this event listener by calling `event.stop()` .
493
493
494
494
### `@opened`
495
495
496
496
- Emits after modal became visible and transition ended.
497
497
498
498
### `@before-close`
499
499
500
-
- Emits before modal is going to be closed.
500
+
- Emits before modal is going to be closed. Further closing of the modal can be blocked from this event listener by calling `event.stop()` .
501
+
502
+
#
501
503
502
504
### `@closed`
503
505
504
506
- Emits right before modal is destroyed.
505
507
506
508
## Contribution
507
509
508
-
👋 Hi I'm Hunter. Author of `vue-final-modal`. There is no perfect library even the `final` of vue modal. If you have any ideas for optimization of `vue-final-modal`, feel free to open [issues](https://github.com/hunterliu1003/vue-final-modal/issues) or [pull requests](https://github.com/hunterliu1003/vue-final-modal/pulls).
510
+
👋 Hi I'm Hunter, the author of `vue-final-modal`.
511
+
512
+
To develop vue-final-modal, I learn a lot from these awesome libraries:
> There is no perfect library even the `final` of vue modal.
528
+
529
+
If you have any ideas for optimization of `vue-final-modal`, feel free to open [issues](https://github.com/hunterliu1003/vue-final-modal/issues) or [pull requests](https://github.com/hunterliu1003/vue-final-modal/pulls).
0 commit comments