mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Update README.md
This commit is contained in:
@@ -65,7 +65,7 @@ You can easily send data into the modal:
|
|||||||
this.$modal.show('hello-world', { foo: 'bar' })
|
this.$modal.show('hello-world', { foo: 'bar' })
|
||||||
```
|
```
|
||||||
|
|
||||||
And receive it on `beforeOpen` event:
|
And receive it in `beforeOpen` event handler:
|
||||||
|
|
||||||
```vue
|
```vue
|
||||||
<modal name="hello-world" @before-open="beforeOpen"/>
|
<modal name="hello-world" @before-open="beforeOpen"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user