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

Method getComputedHeight

src/material/grid-list/tile-styler.ts:193–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191 }
192
193 override getComputedHeight(): [string, string] {
194 return ['height', calc(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)];
195 }
196
197 override reset(list: TileStyleTarget) {
198 list._setListStyle(['height', null]);

Callers 1

_layoutTilesMethod · 0.45

Calls 1

calcFunction · 0.85

Tested by

no test coverage detected