/ archiveofbelonging.org / back / node_modules / consolidated-events /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]__tests__/2 years ago -  
[DIR]lib/2 years ago -  
[DIR]src/2 years ago -  
[TXT]CHANGELOG.md7 years ago862  
[   ]LICENSE8 years ago1.0K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[TXT]README.md7 years ago1.5Kf12eb36 documentaiton updates [كارل مبارك]
[   ]package.json2 years ago3.0K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[   ]rollup.config.js7 years ago361  
README.md

consolidated-events Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

Manage multiple event handlers using few event listeners.

Example

import { addEventListener } from 'consolidated-events';

const removeEventListener = addEventListener(
  window,
  'scroll',
  () => { console.log('scrolling') },
  { passive: true }
);

...

removeEventListener();
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80