Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ constructor
Method
constructor
packages/core/test/acceptance/di_spec.ts:1773–1775 ·
view source on GitHub ↗
(elementRef: ElementRef)
Source
from the content-addressed store, hash-verified
1771
})
1772
class
ParentDirective {
1773
constructor(elementRef: ElementRef) {
1774
parentRef = elementRef;
1775
}
1776
}
1777
1778
@Directive({
Callers
nothing calls this directly
Calls
1
SkipSelf
Interface · 0.90
Tested by
no test coverage detected