Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ addClassName
Method
addClassName
packages/compiler/src/directive_matching.ts:197–199 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
195
}
196
197
addClassName(name: string) {
198
this.classNames.push(name.toLowerCase());
199
}
200
201
toString(): string {
202
let
res: string = this.element ||
''
;
Callers
3
getSelectorFor
Function · 0.95
createCssSelectorFromNode
Function · 0.95
parse
Method · 0.80
Calls
1
push
Method · 0.45
Tested by
no test coverage detected