2.0.6 • Published 7 years ago
vue-context-menu v2.0.6
vue-context-menu
vue context-menu component
Demo: https://vmaimone.github.io/vue-context-menu
Example Usage
<div @contextmenu.prevent="$refs.ctxMenu.open">
...
</div>
<context-menu id="context-menu" ref="ctxMenu">
<li @click="doSomething(...)">option 1</li>
<li class="disabled">option 2</li>
<li>option 3</li>
</context-menu>
<script>
import contextMenu from 'vue-context-menu'
export default {
name: 'my-component',
components: { contextMenu },
methods: { doSomething }
...
}
</script>
Build Setup
# install dependencies
npm install
# compiles src/*.vue and builds a bundle for static linking
npm run build
# runs Karma with test/*.js
npm run test
# runs webpack-dev-server
npm run dev
Vue 1.x Support
Haven't migrated to Vue 2.x yet?
npm install vue-context-menu@0.0.13
2.0.6
7 years ago
2.0.5
7 years ago
2.0.4
7 years ago
2.0.3
7 years ago
2.0.2
8 years ago
2.0.1
8 years ago
2.0.0
8 years ago
0.0.14
8 years ago
0.0.13
8 years ago
0.0.12
8 years ago
0.0.11
8 years ago
0.0.10
8 years ago
0.0.9
8 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago
0.0.0
8 years ago