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

Method setRowStyles

src/material/grid-list/tile-styler.ts:188–191  ·  view source on GitHub ↗
(tile: MatGridTile, rowIndex: number)

Source from the content-addressed store, hash-verified

186 }
187
188 override setRowStyles(tile: MatGridTile, rowIndex: number): void {
189 tile._setStyle('top', this.getTilePosition(this.fixedRowHeight, rowIndex));
190 tile._setStyle('height', calc(this.getTileSize(this.fixedRowHeight, tile.rowspan)));
191 }
192
193 override getComputedHeight(): [string, string] {
194 return ['height', calc(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)];

Callers

nothing calls this directly

Calls 2

calcFunction · 0.85
_setStyleMethod · 0.80

Tested by

no test coverage detected