2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-05 15:12:23 +03:00

Update readme

This commit is contained in:
Randall Wilk
2019-03-31 13:56:42 -05:00
parent 48f4390ea1
commit ce14ebeb0b
+6
View File
@@ -144,6 +144,12 @@ new Vue({
}).$mount('#app');
```
## Left Click Support
If you want to use a `left` click to open the menu instead, just replace `@contextmenu.prevent`
with `@click.prevent`. If you have issues with the menu closing right after you click on your target
element, you just need to append the `stop` modifier onto the click event. See [issue #14](https://github.com/rawilk/vue-context/issues/14) for more information.
## Props
| Property | Type | Default | Description |