mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-23 22:40:32 +03:00
Fix typo in README
This commit is contained in:
@@ -85,7 +85,7 @@ is sent to the `onClick` method on the Vue instance, which is then shown in an a
|
|||||||
|
|
||||||
To pass any data from the `contextmenu` event to your template, you can pass it as the second
|
To pass any data from the `contextmenu` event to your template, you can pass it as the second
|
||||||
parameter of `open` and access it within a [scoped slot](https://vuejs.org/v2/guide/components.html#Scoped-Slots)
|
parameter of `open` and access it within a [scoped slot](https://vuejs.org/v2/guide/components.html#Scoped-Slots)
|
||||||
under the `data` property`. `$event` must be passed as the first parameter,
|
under the `data` property. `$event` must be passed as the first parameter,
|
||||||
otherwise the context menu will not function properly.
|
otherwise the context menu will not function properly.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|||||||
Reference in New Issue
Block a user