()
| 154 | ): () => void { |
| 155 | const threshold = options?.thresholdPx ?? DEFAULT_STREAM_SCROLL_THRESHOLD; |
| 156 | const onScroll = () => { |
| 157 | syncStreamScrollFollow(el, state, threshold); |
| 158 | }; |
| 159 | el.addEventListener("scroll", onScroll, { passive: true }); |
| 160 | return () => el.removeEventListener("scroll", onScroll); |
| 161 | } |
nothing calls this directly
no test coverage detected