MCPcopy 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

getSelectorForFunction · 0.95
parseMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected