Skip to content

BKWLD/window-event-mediator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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