MCPcopy
hub / github.com/angular/angular / element

Method element

packages/core/src/linker/view_container_ref.ts:320–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318 }
319
320 override get element(): ElementRef {
321 return createElementRef(this._hostTNode, this._hostLView);
322 }
323
324 override get injector(): Injector {
325 return new NodeInjector(this._hostTNode, this._hostLView);

Callers 15

reifyCreateOperationsFunction · 0.80
QueryComponentClass · 0.80
QueryDirClass · 0.80
getTextFunction · 0.80
compareFunction · 0.80
bootstrapMethod · 0.80

Calls 1

createElementRefFunction · 0.90

Tested by

no test coverage detected