euvl / vue-js-modal

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

Incorrect documentation on Events section #787

Open vikcch opened 1 year ago

vikcch commented 1 year 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