Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@netsells/vue-outside-events

0.1.0 • Public • Published

npm version Build Status codecov

Vue Outside Events

Listen to events outside of the component

Installation

yarn add @netsells/vue-outside-events
import Vue from 'vue';
import OutsideEvents from '@netsells/vue-outside-events';
 
// register globally
Vue.component('OutsideEvents', OutsideEvents)
 
// or locally
export default {
  components: { OutsideEvents },
  // rest of your component
}

Usage

<outside-events @click="handleOutsideClick">
    Click somewhere else!
</outside-events>

Keywords

none

Install

npm i @netsells/vue-outside-events

DownloadsWeekly Downloads

3

Version

0.1.0

License

ISC

Unpacked Size

502 kB

Total Files

17

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar