1.1.2 • Published 7 years ago
ic-clickoutside v1.1.2
v-clickoutside
A directive for clicking a outside area of a target and trigger a callback.
Install
$ npm i ic-clickoutside || yarn add ic-clickoutside
Usage
It is dead simple, a
handlertriggered by clicking clickoutside or do nothing if not specify ahandler.
<div v-clickoutside="handler">
    
</div>The handler receive one argument: clicked element.
1.1.2
7 years ago