(value)
| 44 | getGrid: () => grid, |
| 45 | |
| 46 | setGridRef(value) { |
| 47 | grid = value; |
| 48 | if (grid === null) { |
| 49 | return; |
| 50 | } |
| 51 | |
| 52 | if (pendingRecomputation !== null) { |
| 53 | const cell = pendingRecomputation; |
| 54 | pendingRecomputation = null; |
| 55 | grid.recomputeGridSize(cell); |
| 56 | } |
| 57 | if (pendingInvalidation !== null) { |
| 58 | const cell = pendingInvalidation; |
| 59 | pendingInvalidation = null; |
| 60 | grid.invalidateCellSizeAfterRender(cell); |
| 61 | } |
| 62 | }, |
| 63 | |
| 64 | invalidateCellSizeAfterRender(cell) { |
| 65 | if (grid !== null) { |
nothing calls this directly
no test coverage detected