Socket
Book a DemoInstallSign in
Socket

cursor-within

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cursor-within

determine which element the cursor is currently in

latest
Source
npmnpm
Version
2.0.2
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

cursor-within

determine if the cursor is within a selector-matched element

Installation

Install with component(1) or NPM:

$ component install bmcmahen/cursor-within
$ npm install cursor-within

Use

var within = require('cursor-within');
var el = within('span.highlighted');

License

MIT

Keywords

cursor

FAQs

Package last updated on 04 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts