How to use the @material/toolbar.util.applyPassive function in @material/toolbar

To help you get started, we’ve selected a few @material/toolbar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github secondstreet / ember-material-components-web / addon / components / mdc-toolbar.js View on Github external
      deregisterScrollHandler: handler => window.removeEventListener('scroll', handler, util.applyPassive()),
      registerResizeHandler: handler => window.addEventListener('resize', handler),
github secondstreet / ember-material-components-web / addon / components / mdc-toolbar.js View on Github external
      registerScrollHandler: handler => window.addEventListener('scroll', handler, util.applyPassive()),
      deregisterScrollHandler: handler => window.removeEventListener('scroll', handler, util.applyPassive()),