docs: fix IMPORTANT for "Animating the items of a reordering list" (#58938)

The specialized `IMPORTANT` highlighting was not being applied to the message, due to a line break.

PR Close #58938
This commit is contained in:
Michael Small 2024-11-27 11:03:13 -06:00 committed by Pawel Kozlowski
parent cca70cbc62
commit 9bee4a3c08

View file

@ -115,8 +115,7 @@ This is because it will lose track of which element is which, resulting in broke
The only way to help Angular keep track of such elements is by assigning a `TrackByFunction` to the `NgForOf` directive.
This makes sure that Angular always knows which element is which, thus allowing it to apply the correct animations to the correct elements all the time.
IMPORTANT:
If you need to animate the items of an `*ngFor` list and there is a possibility that the order of such items will change during runtime, always use a `TrackByFunction`.
IMPORTANT: If you need to animate the items of an `*ngFor` list and there is a possibility that the order of such items will change during runtime, always use a `TrackByFunction`.
## Animations and Component View Encapsulation