()
| 20 | } |
| 21 | |
| 22 | init() { |
| 23 | // Window events |
| 24 | window.addEventListener('resize', this.resizeDebounced, true); |
| 25 | |
| 26 | // Document events |
| 27 | document.addEventListener('fullscreenchange', this.handleFullscreenChange.bind(this), true); |
| 28 | |
| 29 | // Scroll events (both window and element level) - debounced to capture final position |
| 30 | window.addEventListener('scroll', this.scrollDebounced, true); |
| 31 | |
| 32 | // Note: popstate is handled by NavigationTracker for unified URL change tracking |
| 33 | } |
| 34 | |
| 35 | handleResize(event) { |
| 36 | this.sendMessage({ |
nothing calls this directly
no outgoing calls
no test coverage detected