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 threadpull/6317/head
parent
321952ed82
commit
c879558312
3 changed files with 41 additions and 3 deletions
@ -1 +1,14 @@ |
||||
# 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 |
||||
|
||||
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 |
||||
|
||||
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…
Reference in new issue