window-event-mediator

0.6.0 • Public • Published

Window Event Mediator

Mediator pattern for window event handling

Example Usage:

mediator = require 'window-event-mediator'
mediator.on 'resize', myCallback, { throttle: 40 }
mediator.off 'scroll', myCallback

Readme

Keywords

none

Package Sidebar

Install

npm i window-event-mediator

Weekly Downloads

18

Version

0.6.0

License

MIT

Unpacked Size

47.1 kB

Total Files

7

Last publish

Collaborators

  • brokenhd
  • thelucre
  • weotch