(entries: IntersectionObserverEntry[])
| 218 | } |
| 219 | |
| 220 | #onIntersection(entries: IntersectionObserverEntry[]) { |
| 221 | this.#isAnimating = entries[0].isIntersecting; |
| 222 | this.#isAnimating ? this.#startAnimation() : this.#stopAnimation(); |
| 223 | } |
| 224 | |
| 225 | #onVisibilityChange() { |
| 226 | if (this.#isAnimating) { |
nothing calls this directly
no test coverage detected