Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
deregisterTransitionEndHandler: (handler: EventListener) => {
this.registry.unlisten(getCorrectEventName(window, 'transitionend'), handler);
}
};
registerTransitionEndHandler (handler) {
vm.$refs.root.addEventListener(getCorrectEventName(window, 'transitionend'), handler);
},
deregisterTransitionEndHandler (handler) {
deregisterTransitionEndHandler (handler) {
vm.$refs.root.removeEventListener(getCorrectEventName(window, 'transitionend'), handler);
}
});
registerTransitionEndHandler: (handler: EventListener) => {
this.registry.listen(this.renderer, getCorrectEventName(window, 'transitionend'), handler, this.root);
},
deregisterTransitionEndHandler: (handler: EventListener) => {