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

Method _setListStyle

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

Sets style on the main grid-list element, given the style name and value.

(style: [string, string | null] | null)

Source from the content-addressed store, hash-verified

181
182 /** Sets style on the main grid-list element, given the style name and value. */
183 _setListStyle(style: [string, string | null] | null): void {
184 if (style) {
185 (this._element.nativeElement.style as any)[style[0]] = style[1];
186 }
187 }
188}

Callers 1

_layoutTilesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected