MCPcopy Create free account
hub / github.com/angular/angular / ɵɵclassMap

Function ɵɵclassMap

packages/core/src/render3/instructions/styling.ts:170–181  ·  view source on GitHub ↗
(
  classes:
    | {[className: string]: boolean | undefined | null}
    | string
    | string[]
    | Set<string>
    | undefined
    | null
    | NO_CHANGE,
)

Source from the content-addressed store, hash-verified

168 * @codeGenApi
169 */
170export function ɵɵclassMap(
171 classes:
172 | {[className: string]: boolean | undefined | null}
173 | string
174 | string[]
175 | Set<string>
176 | undefined
177 | null
178 | NO_CHANGE,
179): void {
180 checkStylingMap(classKeyValueArraySet, classStringParser, classes, true);
181}
182
183/**
184 * Parse text as class and add values to KeyValueArray.

Callers 1

Calls 1

checkStylingMapFunction · 0.85

Tested by

no test coverage detected