From b11a2057c649fc94cc284d0e0c2024d9e53d0184 Mon Sep 17 00:00:00 2001 From: Santosh Yadav Date: Mon, 24 Jun 2019 16:38:04 +0530 Subject: [PATCH] docs(core): change from CSS Event to DOM event (#31229) PR Close #31229 --- packages/core/src/metadata/directives.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/metadata/directives.ts b/packages/core/src/metadata/directives.ts index a10dba9991..b060115d71 100644 --- a/packages/core/src/metadata/directives.ts +++ b/packages/core/src/metadata/directives.ts @@ -825,7 +825,7 @@ export interface HostListenerDecorator { */ export interface HostListener { /** - * The CSS event to listen for. + * The DOM event to listen for. */ eventName?: string; /** @@ -835,7 +835,7 @@ export interface HostListener { } /** - * Binds a CSS event to a host listener and supplies configuration metadata. + * Binds a DOM event to a host listener and supplies configuration metadata. * Angular invokes the supplied handler method when the host element emits the specified event, * and updates the bound element with the result. * If the handler method returns false, applies `preventDefault` on the bound element.