euvl / vue-js-modal

Easy to use, highly customizable Vue.js modal library.
http://vue-js-modal.yev.io
MIT License
4.36k stars 594 forks source link

Incorrect documentation on Events section #787

Open vikcch opened 2 years ago

vikcch commented 2 years ago

Problem:

On the documention of the events @before-open and @before-close reads:

Further opening of the modal can be blocked from this event listener by calling event.cancel()

On the code has to be event.stop()

Documentation - Events

Version:

vue-js-modal: 1.3.34

Example & screenshots:

image