cursor-within
v2.0.2
Published
determine which element the cursor is currently in
Downloads
7
Readme
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