How to use the @material/animation.getCorrectEventName function in @material/animation

To help you get started, we’ve selected a few @material/animation 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 src-zone / material / bundle / src / components / snackbar / mdc.snackbar.directive.ts View on Github external
deregisterTransitionEndHandler: (handler: EventListener) => {
            this.registry.unlisten(getCorrectEventName(window, 'transitionend'), handler);
        }
    };
github material-components / material-components-web / framework-examples / vue / src / v-mdc-snackbar / Snackbar.vue View on Github external
registerTransitionEndHandler (handler) {
        vm.$refs.root.addEventListener(getCorrectEventName(window, 'transitionend'), handler);
      },
      deregisterTransitionEndHandler (handler) {
github material-components / material-components-web / framework-examples / vue / src / v-mdc-snackbar / Snackbar.vue View on Github external
deregisterTransitionEndHandler (handler) {
        vm.$refs.root.removeEventListener(getCorrectEventName(window, 'transitionend'), handler);
      }
    });
github src-zone / material / bundle / src / components / snackbar / mdc.snackbar.directive.ts View on Github external
registerTransitionEndHandler: (handler: EventListener) => {
            this.registry.listen(this.renderer, getCorrectEventName(window, 'transitionend'), handler, this.root);
        },
        deregisterTransitionEndHandler: (handler: EventListener) => {