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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user