Update README.md

This commit is contained in:
Yev Vlasenko
2017-08-04 11:41:40 +01:00
committed by GitHub
parent 6383ea1dd0
commit 4c18b2b653

View File

@@ -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"/>