* Get the position (top offset) of an item
(index: number)
| 256 | * Get the position (top offset) of an item |
| 257 | */ |
| 258 | private getItemPosition(index: number): number { |
| 259 | if (index < 0 || index >= this.positionCache.length) return 0; |
| 260 | return this.positionCache[index]; |
| 261 | } |
| 262 | |
| 263 | /** |
| 264 | * Rebuild the position cache from measured heights |
no outgoing calls
no test coverage detected