How to use the @material/drawer.util.remapEvent function in @material/drawer

To help you get started, we’ve selected a few @material/drawer 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 trimox / angular-mdc-web / src / lib / drawer / persistent / drawer-persistent.ts View on Github external
registerInteractionHandler: (evt: string, handler: EventListener) => {
      this._registry.listen(util.remapEvent(evt), handler, this.elementRef.nativeElement);
    },
    deregisterInteractionHandler: (evt: string, handler: EventListener) => {
github src-zone / material / bundle / src / components / drawer / mdc.drawer.directive.ts View on Github external
            registerInteractionHandler: (evt, handler) => this._registry.listen(this._rndr, util.remapEvent(evt), handler, this._elm, util.applyPassive()),
            deregisterInteractionHandler: (evt, handler) => this._registry.unlisten(util.remapEvent(evt), handler),
github trimox / angular-mdc-web / src / lib / drawer / temporary / drawer-temporary.ts View on Github external
registerInteractionHandler: (evt: string, handler: EventListener) => {
      this._registry.listen(util.remapEvent(evt), handler, this.elementRef.nativeElement);
    },
    deregisterInteractionHandler: (evt: string, handler: EventListener) => {
github src-zone / material / bundle / src / components / drawer / mdc.drawer.directive.ts View on Github external
            deregisterInteractionHandler: (evt, handler) => this._registry.unlisten(util.remapEvent(evt), handler),
            registerDrawerInteractionHandler: (evt, handler) => this._registry.listen(this._rndr, util.remapEvent(evt), handler, this.drawer._elm),