Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@af-utils/scrollend-polyfill

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@af-utils/scrollend-polyfill

Polyfill for scrollend event

  • 0.0.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.2K
increased by11.31%
Maintainers
0
Weekly downloads
 
Created
Source

Scrollend Event Polyfill

This polyfill adds scrollend event support via addEventListener / removeEventListener. onscrollend event handler is not supported.

Installation

npm install @af-utils/scrollend-polyfill

Usage

import "@af-utils/scrollend-polyfill";

Just import once at the top level. Does nothing when used in node environment.

Implementation Details

Scroll is considered ended when:

  • touch events are not active ( user released touch );
  • scroll event was not fired within 100ms since last invocation.

Keywords

FAQs

Package last updated on 19 Oct 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc