New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

window-scroll

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

window-scroll

Polyfill for window.scrollX and window.scrollY

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

scroll

FAQs

Package last updated on 07 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts