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

Method cols

src/material/grid-list/grid-list.ts:87–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 /** Amount of columns in the grid list. */
86 @Input()
87 get cols(): number {
88 return this._cols;
89 }
90 set cols(value: NumberInput) {
91 this._cols = Math.max(1, Math.round(coerceNumberProperty(value)));
92 }

Callers

nothing calls this directly

Calls 2

coerceNumberPropertyFunction · 0.90
maxMethod · 0.45

Tested by

no test coverage detected