docs: fix example for defer on hover on an alternative element (#57788)

PR Close #57788
This commit is contained in:
Pascal Weyrich 2024-09-12 09:42:05 +02:00 committed by Pawel Kozlowski
parent fab6462517
commit 156f0d0c1b

View file

@ -216,7 +216,7 @@ Alternatively, you can specify a [template reference variable](/guide/templates/
```angular-html
<div #greeting>Hello!</div>
@defer (on interaction(greeting)) {
@defer (on hover(greeting)) {
<greetings-cmp />
}
```