From 0907ef2f8495c7b0117dd5085a8bf2e23bfad297 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Fri, 21 May 2021 12:09:50 -0700 Subject: [PATCH] docs: move helpful alert regarding built-in directives to more logical place (#42226) Moving the helpful alert expressing that built-in directives use public APIs to be under the heading about built-in directives generally makes the content in the alert more related to its surroundings than its previous location within the ng-for section. Closes #38525 PR Close #42226 --- aio/content/guide/built-in-directives.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/aio/content/guide/built-in-directives.md b/aio/content/guide/built-in-directives.md index d0ca688f22e6c..19232a9ba235b 100644 --- a/aio/content/guide/built-in-directives.md +++ b/aio/content/guide/built-in-directives.md @@ -31,6 +31,13 @@ The most common attribute directives are as follows: * [`NgStyle`](guide/built-in-directives#ngstyle)—adds and removes a set of HTML styles. * [`NgModel`](guide/built-in-directives#ngModel)—adds two-way data binding to an HTML form element. +
+ +Built-in directives use only public APIs. +They do not have special access to any private APIs that other directives can't access. + +
+ {@a ngClass} ## Adding and removing classes with `NgClass` @@ -269,13 +276,6 @@ In the following illustration of the `trackBy` effect, **Reset items** creates n Animation of trackBy -
- -Built-in directives use only public APIs. -They do not have special access to any private APIs that other directives can't access. - -
- {@a ngcontainer} ## Hosting a directive without a DOM element