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

Function ɵɵstyleProp

packages/core/src/render3/instructions/styling.ts:83–90  ·  view source on GitHub ↗
(
  prop: string,
  value: string | number | SafeValue | undefined | null,
  suffix?: string | null,
)

Source from the content-addressed store, hash-verified

81 * @codeGenApi
82 */
83export function ɵɵstyleProp(
84 prop: string,
85 value: string | number | SafeValue | undefined | null,
86 suffix?: string | null,
87): typeof ɵɵstyleProp {
88 checkStylingProperty(prop, value, suffix, false);
89 return ɵɵstyleProp;
90}
91
92/**
93 * Update a class binding on an element with the provided value.

Callers 2

styling_spec.tsFile · 0.90

Calls 1

checkStylingPropertyFunction · 0.85

Tested by

no test coverage detected