mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: Add missing link in HostListener documentation
This commit is contained in:
parent
d072791f13
commit
0e04233a7c
1 changed files with 1 additions and 1 deletions
|
|
@ -1001,7 +1001,7 @@ export interface HostListenerDecorator {
|
|||
*
|
||||
* @usageNotes
|
||||
*
|
||||
* NOTE: **Always** prefer using the `host` property over `@HostListener`.
|
||||
* NOTE: **Always** prefer using the [`host` property](guide/components/host-elements#binding-to-the-host-element) over `@HostListener`.
|
||||
* This decorator exist exclusively for backwards compatibility.
|
||||
*
|
||||
* The following example declares a directive
|
||||
|
|
|
|||
Loading…
Reference in a new issue