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

Method reset

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

Source from the content-addressed store, hash-verified

245 }
246
247 reset(list: TileStyleTarget) {
248 list._setListStyle(['paddingBottom', null]);
249
250 list._tiles.forEach(tile => {
251 tile._setStyle('marginTop', null);
252 tile._setStyle('paddingTop', null);
253 });
254 }
255
256 private _parseRatio(value: string): void {
257 const ratioParts = value.split(':');

Callers

nothing calls this directly

Calls 2

_setStyleMethod · 0.80
_setListStyleMethod · 0.65

Tested by

no test coverage detected