update list format
This commit is contained in:
parent
51ada60d91
commit
f1000c591b
|
@ -13,18 +13,15 @@ p.
|
|||
|
||||
p There are three stages of injection resolution.
|
||||
|
||||
dl
|
||||
dt Pre-existing Injectors:
|
||||
dd
|
||||
ol
|
||||
li <strong>Pre-existing Injectors:</strong>
|
||||
ul
|
||||
li The terminal [Injector] cannot resolve dependencies. It either throws an error or, if the dependency was specified as @Optional, returns null.
|
||||
li The primordial injector resolves browser singleton resources, such as: cookies, title, location, and others.
|
||||
|
||||
dt Component Injectors:
|
||||
dd Each @Component has its own [Injector], and they follow the same parent-child hierarchy as the components in the DOM.
|
||||
li <strong>Component Injectors:</strong> Each @Component has its own [Injector], and they follow the same parent-child hierarchy as the components in the DOM.
|
||||
|
||||
dt Element Injectors:
|
||||
dd Each component has a Shadow DOM. Within the Shadow DOM each element has an [ElementInjector] which follow the same parent-child hierarchy as the DOM elements themselves.
|
||||
li <strong>Element Injectors:</strong> Each component has a Shadow DOM. Within the Shadow DOM each element has an [ElementInjector] which follow the same parent-child hierarchy as the DOM elements themselves.
|
||||
|
||||
|
||||
p When a template is instantiated, it also must instantiate the corresponding directives in a depth-first order. The current [ElementInjector] resolves the constructor dependencies for each directive.
|
||||
|
|
Loading…
Reference in New Issue