window-scroll
Polyfill for window.scrollX and window.scrollY
Last updated 10 years ago by parshap .
Public Domain · Repository · Bugs · Original npm · Tarball · package.json
$ npm install window-scroll 
SYNC missed versions from official npm registry.

Window Scroll Position

Polyfill for window.scrollX and window.scrollY.

The implementation comes from jQuery 1.x (supports IE6+). (1)

Usage

var scroll = require("window-scroll");
console.log("window.scrollX:", scroll.getScrollX());
console.log("window.scrollY:", scroll.getScrollY());

Installation

npm install window-scroll

Current Tags

  • 1.0.0                                ...           latest (10 years ago)

1 Versions

  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 4
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE