Package Exports
- vue-clickoutside
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-clickoutside) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vue-clickoutside
make a click outside event.
Similar vue-clickaway, but more simpler. :P
Installation
npm i vue-clickoutside -DDemo

Quick Start
import Vue from 'vue'
import VueClickoutside from 'vue-clickoutside'
Vue.use(VueClickoutside)
// or custom directive id
Vue.directive('v-clickoutside', VueClickoutside)<div v-clickoutside="show = false" class="box">
<button @click="show = true">click me</button>
<div v-show="show">dropdown</div>
</div>Development
If you using NPM 3.x, these will not be automatically installed.
- jasmine-core *
- phantomjs-prebuilt ^1.9