🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

debounced-resize

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debounced-resize

Debounced resize event for native JavaScript. Lightweight package with ES6 Promise support

latest
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

Debounced Resize

Native JS debounce for the window resize event

Install

npm install --save debounced-resize

Usage (ES6)

import debouncedResize from 'debounced-resize'

debouncedResize((e) => {
  console.log('Resized')
})

FAQs

Package last updated on 30 Jan 2018

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