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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.2
    2
  • 2.0.1
    0
  • 2.0.0
    0
  • 1.0.1
    0

Package Sidebar

Install

npm i cursor-within

Weekly Downloads

2

Version

2.0.2

License

MIT

Last publish

Collaborators

  • bmcmahen