docs(core): change from CSS Event to DOM event (#31229)

PR Close #31229
This commit is contained in:
Santosh Yadav 2019-06-24 16:38:04 +05:30 committed by Kara Erickson
parent 6ba42f1da4
commit b11a2057c6
1 changed files with 2 additions and 2 deletions

View File

@ -825,7 +825,7 @@ export interface HostListenerDecorator {
*/ */
export interface HostListener { export interface HostListener {
/** /**
* The CSS event to listen for. * The DOM event to listen for.
*/ */
eventName?: string; 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, * Angular invokes the supplied handler method when the host element emits the specified event,
* and updates the bound element with the result. * and updates the bound element with the result.
* If the handler method returns false, applies `preventDefault` on the bound element. * If the handler method returns false, applies `preventDefault` on the bound element.