GitXplorerGitXplorer
l

consolidated-events

public
44 stars
2 forks
2 issues

Commits

List of commits on branch master.
Unverified
0e3b1a7821f3fb803f2b15639dabb1414386c7b0

Update changelog for v2.0.2

llencioni committed 6 years ago
Unverified
71a5c614ead5ff42a0210f8ba759002d1f33c95e

Version 2.0.2

llencioni committed 6 years ago
Unverified
cc0be071db3e2ec2baa687efac6c65f25a90d5cf

Version 2.0.1

llencioni committed 6 years ago
Verified
214cb7d1bf3ef88f011c313a7018fd77969372cc

Merge pull request #15 from lencioni/prototype

llencioni committed 6 years ago
Unverified
d5dd34acad95e92c0e79882172efaea1088fa93a

Move TargetEventHandlers methods to prototype

llencioni committed 6 years ago
Unverified
d6dd548b17a60cd18c68afb1989096a6fba3f495

Version 2.0.0

llencioni committed 6 years ago

README

The README file for this repository.

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();