ic-clickoutside

1.1.2 • Public • Published

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 handler triggered by clicking clickoutside or do nothing if not specify a handler.

<div v-clickoutside="handler">
    
</div>

The handler receive one argument: clicked element.

Readme

Keywords

none

Package Sidebar

Install

npm i ic-clickoutside

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

8.39 kB

Total Files

6

Last publish

Collaborators

  • qschqd