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.
|
p There are three stages of injection resolution.
|
||||||
|
|
||||||
dl
|
ol
|
||||||
dt Pre-existing Injectors:
|
li <strong>Pre-existing Injectors:</strong>
|
||||||
dd
|
|
||||||
ul
|
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 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.
|
li The primordial injector resolves browser singleton resources, such as: cookies, title, location, and others.
|
||||||
|
|
||||||
dt Component Injectors:
|
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.
|
||||||
dd Each @Component has its own [Injector], and they follow the same parent-child hierarchy as the components in the DOM.
|
|
||||||
|
|
||||||
dt Element Injectors:
|
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.
|
||||||
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.
|
|
||||||
|
|
||||||
|
|
||||||
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.
|
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