Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ ɵɵinjectAttribute
Function
ɵɵinjectAttribute
packages/core/src/render3/instructions/di_attr.ts:16–18 ·
view source on GitHub ↗
(attrNameToInject: string)
Source
from the content-addressed store, hash-verified
14
* @codeGenApi
15
*/
16
export
function
ɵɵinjectAttribute(attrNameToInject: string): string | null {
17
return
injectAttributeImpl(getCurrentTNode()!, attrNameToInject);
18
}
Callers
2
HostAttributeToken
Class · 0.90
metadata_attr.ts
File · 0.90
Calls
2
injectAttributeImpl
Function · 0.90
getCurrentTNode
Function · 0.90
Tested by
no test coverage detected