Vue 2.x directive to react on events outside of an element without stopping the event’s propagation. Works well for handling clicks outside of menus and popups. Can handle any DOM event or CustomEvent. Also able to capture jQuery events.
Official Website: https://github.com/nchutchind/vue-outside-events
Install & Download:
npm install --save vue-outside-events