You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adev/src/content/guide/templates/defer.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ Angular's compiler produces a [dynamic import](https://developer.mozilla.org/en-
33
33
34
34
### `@defer`
35
35
36
-
This is the primary block that defines the section of content that is lazily loaded. It is not rendered initially– deferred content loads and renders once the specified [trigger](/guide/defer#triggers) occurs or the `when` condition is met.
36
+
This is the primary block that defines the section of content that is lazily loaded. It is not rendered initially– deferred content loads and renders once the specified [trigger](/guide/templates/defer#triggers) occurs or the `when` condition is met.
37
37
38
-
By default, a @defer block is triggered when the browser state becomes [idle](/guide/defer#idle).
38
+
By default, a @defer block is triggered when the browser state becomes [idle](/guide/templates/defer#idle).
39
39
40
40
```angular-html
41
41
@defer {
@@ -57,7 +57,7 @@ The `@placeholder` is an optional block that declares what content to show befor
57
57
}
58
58
```
59
59
60
-
While optional, certain triggers may require the presence of either a `@placeholder` or a [template reference variable](/guide/templates/variables#template-reference-variables) to function. See the [Triggers](/guide/defer#triggers) section for more details.
60
+
While optional, certain triggers may require the presence of either a `@placeholder` or a [template reference variable](/guide/templates/variables#template-reference-variables) to function. See the [Triggers](/guide/templates/defer#triggers) section for more details.
61
61
62
62
Angular replaces placeholder content with the main content once loading is complete. You can use any content in the placeholder section including plain HTML, components, directives, and pipes. Keep in mind the _dependencies of the placeholder block are eagerly loaded_.
Copy file name to clipboardExpand all lines: adev/src/content/tutorials/deferrable-views/steps/2-loading-error-placeholder/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Deferrable views let you define content to be shown in different loading states.
8
8
<td><code>@placeholder</code></td>
9
9
<td>
10
10
By default, defer blocks do not render any content before they are triggered. The <code>@placeholder</code> is an optional block that declares content to show before the deferred content loads. Angular replaces the placeholder with the deferred content after loading completes. While this block is optional, the Angular team recommends always including a placeholder.
Copy file name to clipboardExpand all lines: adev/src/llms-full.txt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2738,9 +2738,9 @@ Angular's compiler produces a [dynamic import](https://developer.mozilla.org/en-
2738
2738
2739
2739
### `@defer`
2740
2740
2741
-
This is the primary block that defines the section of content that is lazily loaded. It is not rendered initially– deferred content loads and renders once the specified [trigger](/guide/defer#triggers) occurs or the `when` condition is met.
2741
+
This is the primary block that defines the section of content that is lazily loaded. It is not rendered initially– deferred content loads and renders once the specified [trigger](/guide/templates/defer#triggers) occurs or the `when` condition is met.
2742
2742
2743
-
By default, a @defer block is triggered when the browser state becomes [idle](/guide/defer#idle).
2743
+
By default, a @defer block is triggered when the browser state becomes [idle](/guide/templates/defer#idle).
2744
2744
2745
2745
```html
2746
2746
@defer {
@@ -2762,7 +2762,7 @@ The `@placeholder` is an optional block that declares what content to show befor
2762
2762
}
2763
2763
```
2764
2764
2765
-
While optional, certain triggers may require the presence of either a `@placeholder` or a [template reference variable](/guide/templates/variables#template-reference-variables) to function. See the [Triggers](/guide/defer#triggers) section for more details.
2765
+
While optional, certain triggers may require the presence of either a `@placeholder` or a [template reference variable](/guide/templates/variables#template-reference-variables) to function. See the [Triggers](/guide/templates/defer#triggers) section for more details.
2766
2766
2767
2767
Angular replaces placeholder content with the main content once loading is complete. You can use any content in the placeholder section including plain HTML, components, directives, and pipes. Keep in mind the _dependencies of the placeholder block are eagerly loaded_.
'Keyword that indicates that the trigger configures when prefetching the defer block contents should start. You can use `on` and `when` conditions as prefetch triggers.',
0 commit comments