docs: Add missing link in HostListener documentation

This commit is contained in:
JakobDev 2026-01-29 10:52:32 +01:00 committed by Leon Senft
parent d072791f13
commit 0e04233a7c

View file

@ -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