diff --git a/angular/src/providers/angular-delegate.ts b/angular/src/providers/angular-delegate.ts index e23368cf70..a0263441a5 100644 --- a/angular/src/providers/angular-delegate.ts +++ b/angular/src/providers/angular-delegate.ts @@ -106,7 +106,7 @@ const LIFECYCLES = [ export function bindLifecycleEvents(instance: any, element: HTMLElement) { LIFECYCLES.forEach(eventName => { element.addEventListener(eventName, (ev: any) => { - if (typeof instance[eventName] === 'function' && ev.detail) { + if (typeof instance[eventName] === 'function') { instance[eventName](ev.detail); } });