Enumeration InjectFlags

Injection flags for DI.

Public Api

Enumeration Members

Enumeration Members

Default: 0

Check self and check parent injector if needed

Host: 1

Specifies that an injector should retrieve a dependency from any injector until reaching the host element of the current component. (Only used with Element Injector)

Optional: 8

Inject defaultValue instead if token not found.

Self: 2

Don't ascend to ancestors of the node requesting injection.

SkipSelf: 4

Skip the node that is requesting injection.

Generated using TypeDoc