UNPKG

subscribe-ui-event

Version:

A single, throttle built-in solution to subscribe to browser UI Events.

16 lines (15 loc) 411 B
/** * Copyright 2015, Yahoo! Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ import EventEmitter from 'eventemitter3'; import supportPassiveEvent from './lib/supportPassiveEvent'; export default { connections: {}, EE: new EventEmitter(), enableResizeInfo: false, enableScrollInfo: false, listeners: {}, removers: [], supportPassiveEvent };