window-scroll
Polyfill for window.scrollX and window.scrollY
Last updated 6 years ago by parshap .
Public Domain · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (6 years ago)

1 Versions

  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 28
This Week 424
This Month 2,046
Last Day 100
Last Week 529
Last Month 1,090
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |