* Gets the actual size of a tile, e.g., width or height, taking rowspan or colspan into account. * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize). * @param span The tile's rowspan or colspan. * @return Size of the tile as a CSS calc() expression.
(baseSize: string, span: number)
| 86 | * @return Size of the tile as a CSS calc() expression. |
| 87 | */ |
| 88 | getTileSize(baseSize: string, span: number): string { |
| 89 | return `(${baseSize} * ${span}) + (${span - 1} * ${this._gutterSize})`; |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Sets the style properties to be applied to a tile for the given row and column index. |
nothing calls this directly
no outgoing calls
no test coverage detected