This little library adds support for finding elements using absolute
Y coordinates of the page, especially when elements are not currently visible on the page.
document.elementFromPoint() only will return elements relative to the current visible viewport and return
null if the element is outside of the current visible viewport.
bower install --save element-from-absolute-point
Use as you would with
var element = document.elementFromAbsolutePoint(1000000, 1000000);
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
This library is distributed under the MIT license. Please see the LICENSE file.