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

Method _checkRowHeight

src/material/grid-list/grid-list.ts:140–144  ·  view source on GitHub ↗

Default to equal width:height if rowHeight property is missing

()

Source from the content-addressed store, hash-verified

138
139 /** Default to equal width:height if rowHeight property is missing */
140 private _checkRowHeight(): void {
141 if (!this._rowHeight) {
142 this._setTileStyler('1:1');
143 }
144 }
145
146 /** Creates correct Tile Styler subtype based on rowHeight passed in by user */
147 private _setTileStyler(rowHeight: string): void {

Callers 1

ngOnInitMethod · 0.95

Calls 1

_setTileStylerMethod · 0.95

Tested by

no test coverage detected