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 4
This Week 601
This Month 1,200
Last Day 112
Last Week 565
Last Month 2,269
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |