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

Method reset

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

Source from the content-addressed store, hash-verified

195 }
196
197 override reset(list: TileStyleTarget) {
198 list._setListStyle(['height', null]);
199
200 if (list._tiles) {
201 list._tiles.forEach(tile => {
202 tile._setStyle('top', null);
203 tile._setStyle('height', null);
204 });
205 }
206 }
207}
208
209/**

Callers

nothing calls this directly

Calls 2

_setStyleMethod · 0.80
_setListStyleMethod · 0.65

Tested by

no test coverage detected