clickout-lite

A lightweight utility to detect outside clicks on elements — compatible with Vue, React, and vanilla JavaScript.

Browse on unpkg