* Get leaf cell or get level info. * Should be able to return null/undefined if not found on x or y, thus input `dimIdx` is needed.
(dimIdx: number, locator: MatrixXYLocator)
| 414 | * Should be able to return null/undefined if not found on x or y, thus input `dimIdx` is needed. |
| 415 | */ |
| 416 | getUnitLayoutInfo(dimIdx: number, locator: MatrixXYLocator): MatrixCellLayoutInfo | NullUndefined { |
| 417 | return dimIdx === this.dimIdx |
| 418 | ? (locator < this._leavesCount ? this._cells[locator] : undefined) |
| 419 | : this._levels[locator + this._levels.length]; |
| 420 | } |
| 421 | |
| 422 | /** |
| 423 | * Get dimension cell by data, including leaves and non-leaves. |
no outgoing calls
no test coverage detected