2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-24 04:10:31 +03:00

Scrollable (#3)

* Add ability to close context menu on scroll

* Update README

* Update test page

* Update changelog
This commit is contained in:
Randall Wilk
2018-05-29 12:44:52 -05:00
committed by GitHub
parent c1890e5a02
commit ca7b95b553
7 changed files with 173 additions and 162 deletions
+6
View File
@@ -144,6 +144,12 @@ new Vue({
}).$mount('#app');
```
## Props
| Property | Type | Default | Description
| -------- | ---- | ------- | -----------
| `closeOnScroll` | Boolean | `true` | If set to true, context menu will automatically close on window scroll.
## Credits
vue-context is inspired from [vue-lil-context-menu](https://github.com/timwis/vue-lil-context-menu)