Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
deregisterScrollHandler: handler => window.removeEventListener('scroll', handler, util.applyPassive()),
registerResizeHandler: handler => window.addEventListener('resize', handler),
registerScrollHandler: handler => window.addEventListener('scroll', handler, util.applyPassive()),
deregisterScrollHandler: handler => window.removeEventListener('scroll', handler, util.applyPassive()),