(node: LayoutNode, rect: Rect)
| 291 | } |
| 292 | |
| 293 | protected isVisible(node: LayoutNode, rect: Rect): boolean { |
| 294 | return ( |
| 295 | node.layoutInfo.rect.intersects(rect) || |
| 296 | node.layoutInfo.isSticky || |
| 297 | node.layoutInfo.type === 'header' || |
| 298 | node.layoutInfo.type === 'loader' || |
| 299 | this.virtualizer!.isPersistedKey(node.layoutInfo.key) |
| 300 | ); |
| 301 | } |
| 302 | |
| 303 | protected shouldInvalidateEverything(invalidationContext: InvalidationContext<O>): boolean { |
| 304 | let options = invalidationContext.layoutOptions; |
no test coverage detected