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

Function getTileSpan

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

* Calculates the total size taken up by tiles across one axis of a list. * @param tileHeight Height of the tile.

(tileHeight: string)

Source from the content-addressed store, hash-verified

131 * @param tileHeight Height of the tile.
132 */
133 getTileSpan(tileHeight: string): string {
134 return `${this._rowspan} * ${this.getTileSize(tileHeight, 1)}`;
135 }
136
137 /**
138 * Sets the vertical placement of the tile in the list.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected