feat(angular/metadata): add content to the thread (#6315)

* feat(angular/viewProvider): add content to the thread

* feat(angular/Encapsulation): add content to the thread

* feat(angular/changeDetection): add content to the thread
pull/6317/head
Konrad 4 months ago committed by GitHub
parent 321952ed82
commit c879558312
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 15
      src/data/roadmaps/angular/content/changedetection@uYHy2yhtTm6fQkKpYx3lU.md
  2. 20
      src/data/roadmaps/angular/content/encapsulation@ctigvSYeFa77y3v7m11gk.md
  3. 9
      src/data/roadmaps/angular/content/viewprovider@doHDoAgp7T59KGSXPpQzZ.md

@ -1 +1,14 @@
# changeDetection
# changeDetection
The change-detection strategy to use for this component.
When a component is instantiated, Angular creates a change detector, which is responsible for propagating the
component's bindings. The strategy is one of:
- `ChangeDetectionStrategy.OnPush` sets the strategy to CheckOnce (on demand).
- `ChangeDetectionStrategy.Default` sets the strategy to CheckAlways.
Visit the following resources to learn more:
- [@official@Advanced component configuration](https://angular.dev/guide/components/advanced-configuration#changedetectionstrategy)
- [@official@Component - API](https://angular.dev/api/core/Component#changeDetection)

@ -1 +1,19 @@
# Encapsulation
# Encapsulation
An encapsulation policy for the component's styling. Possible values:
- `ViewEncapsulation.Emulated`: Apply modified component styles in order to emulate a native Shadow DOM CSS
encapsulation behavior.
- `ViewEncapsulation.None`: Apply component styles globally without any sort of encapsulation.
- `ViewEncapsulation.ShadowDom`: Use the browser's native Shadow DOM API to encapsulate styles.
If not supplied, the value is taken from the CompilerOptions which defaults to `ViewEncapsulation.Emulated`.
If the policy is `ViewEncapsulation.Emulated` and the component has no styles nor {@link Component#styleUrls styleUrls},
the policy is automatically switched to `ViewEncapsulation.None`.
Visit the following resources to learn more:
- [@official@Style scoping](https://angular.dev/guide/components/styling#style-scoping)
- [@official@Component - API](https://angular.dev/api/core/Component#encapsulation)

@ -1 +1,8 @@
# viewProvider
# viewProvider
Defines the set of injectable objects that are visible to its view DOM children.
Visit the following resources to learn more:
- [@official@Using the viewProviders array](https://angular.dev/guide/di/hierarchical-dependency-injection#using-the-viewproviders-array)
- [@official@Component - API](https://angular.dev/api/core/Component#viewProviders)

Loading…
Cancel
Save