0.1.0 • Published 8 years ago

el-pointero v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

El Pointero

Find DOM elements using Y-coordinates (points).

// initialize the library
var elp = new ElPointero(document.getElementById('article'));

// find which elements are at the 1000px mark
elp.findAt(1000);

// find which elements are at the top of the screen
elp.findAt(scrollY);

Installation

NPM

npm install --save el-pointero

Bower

bower install --save el-pointero