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
Example Usage:
mediator = require 'window-event-mediator'
mediator.on 'resize', myCallback, { throttle: 40 }
mediator.off 'scroll', myCallback
npm i window-event-mediator
18
0.6.0
MIT
47.1 kB
7