Function
emitZoomRange
(range: Readonly<{ start: number; end: number }>)
Source from the content-addressed store, hash-verified
| 2526 | const zoomRangeListeners = new Set<(range: Readonly<{ start: number; end: number }>) => void>(); |
| 2527 | |
| 2528 | const emitZoomRange = (range: Readonly<{ start: number; end: number }>): void => { |
| 2529 | const snapshot = Array.from(zoomRangeListeners); |
| 2530 | for (const cb of snapshot) cb(range); |
| 2531 | }; |
| 2532 | |
| 2533 | const getZoomOptionsConfig = ( |
| 2534 | opts: ResolvedChartGPUOptions |
Tested by
no test coverage detected