cursor-within

2.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i cursor-within

Weekly Downloads

4

Version

2.0.2

License

MIT

Last publish

Collaborators

  • bmcmahen