UNPKG

clickout-lite

Version:

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

45 lines 1.01 kB
{ "name": "clickout-lite", "version": "0.0.1", "description": "A lightweight utility to detect outside clicks on elements — compatible with Vue, React, and vanilla JavaScript.", "main": "index.js", "author": "safdar-azeem", "scripts": { "build": "tsc" }, "homepage": "https://github.com/safdar-azeem/clickout-lite#readme", "repository": { "type": "git", "url": "git+https://github.com/safdar-azeem/clickout-lite.git" }, "keywords": [ "clickout-lite", "event-listener", "click-outside", "click-out", "click-outside-lite", "use-click-outside", "on-click-outside", "clickoff", "outclicker", "typescript", "vue", "react", "svelte", "vanilla", "dom" ], "license": "MIT", "devDependencies": { "typescript": "^5.5.4" }, "prettier": { "printWidth": 105, "semi": false, "singleQuote": true, "trailingComma": "es5", "tabWidth": 3, "endOfLine": "auto", "bracketSameLine": true } }