MCPcopy Create free account
hub / github.com/angular/components / calc

Function calc

src/material/grid-list/tile-styler.ts:300–302  ·  view source on GitHub ↗

Wraps a CSS string in a calc function

(exp: string)

Source from the content-addressed store, hash-verified

298
299/** Wraps a CSS string in a calc function */
300function calc(exp: string): string {
301 return `calc(${exp})`;
302}
303
304/** Appends pixels to a CSS string if no units are given. */
305function normalizeUnits(value: string): string {

Callers 7

getTilePositionFunction · 0.85
setColStylesFunction · 0.85
setRowStylesMethod · 0.85
getComputedHeightMethod · 0.85
setRowStylesMethod · 0.85
getComputedHeightMethod · 0.85
setRowStylesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected