Outy
A simple way to listen for events outside of elements. Inspired by outside-click.
Install
yarn add outy
npm install outy --save
(UMD library exposed as `outy`)
Usage
const overlay = documentconst outsideTap = { // maybe close an overlay?} // cleanup lateroutsideTap