From ec73149031bea6503b6ce86711f9548cb2b3768a Mon Sep 17 00:00:00 2001 From: David Loiret Date: Fri, 7 Oct 2016 15:32:02 +0200 Subject: [PATCH] fix(tooltip): show & hide methods should not need any arguments --- components/tooltip/tooltip.directive.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/tooltip/tooltip.directive.ts b/components/tooltip/tooltip.directive.ts index 75cadd71fc..21ff2c9781 100644 --- a/components/tooltip/tooltip.directive.ts +++ b/components/tooltip/tooltip.directive.ts @@ -40,8 +40,8 @@ export class TooltipDirective { // todo: filter triggers // params: event, target - @HostListener('focusin', ['$event', '$target']) - @HostListener('mouseenter', ['$event', '$target']) + @HostListener('focusin') + @HostListener('mouseenter') public show():void { if (this.visible || !this.enable) { return; @@ -68,8 +68,8 @@ export class TooltipDirective { } // params event, target - @HostListener('focusout', ['$event', '$target']) - @HostListener('mouseleave', ['$event', '$target']) + @HostListener('focusout') + @HostListener('mouseleave') public hide():void { if (!this.visible) { return;