Nacho Pace Maker

    window-scroll

    1.0.0 • Public • Published

    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
    

    Install

    npm i window-scroll

    DownloadsWeekly Downloads

    352

    Version

    1.0.0

    License

    Public Domain

    Last publish

    Collaborators

    • parshap