element-pixels-visible

0.0.2 • Public • Published

element-pixels-visible

A method for getting the number of pixles of an element that is visible inside the browser.

build status Sauce Test Status modules status

npm badge

Usage

Pass an Element to the method to get the number of pixels visible.

elementPixelsVisible(document.getElementById('#foo'));

Attribution

This project is based on bv-ui-pixels-displayed with added support for IE8.

License

MIT

Versions

Current Tags

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

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    1

Package Sidebar

Install

npm i element-pixels-visible

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • voldern