* Adds grid-list layout info once it is available. Cannot be processed in the constructor * because these properties haven't been calculated by that point. * * @param gutterSize Size of the grid's gutter. * @param tracker Instance of the TileCoordinator. * @param cols Amount of column
(gutterSize: string, tracker: TileCoordinator, cols: number, direction: string)
| 44 | * @param direction Layout direction of the grid. |
| 45 | */ |
| 46 | init(gutterSize: string, tracker: TileCoordinator, cols: number, direction: string): void { |
| 47 | this._gutterSize = normalizeUnits(gutterSize); |
| 48 | this._rows = tracker.rowCount; |
| 49 | this._rowspan = tracker.rowspan; |
| 50 | this._cols = cols; |
| 51 | this._direction = direction; |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Computes the amount of space a single 1x1 tile would take up (width or height). |
nothing calls this directly
no test coverage detected