MCPcopy Create free account
hub / github.com/InverseUI/InverseUI-Recorder / init

Method init

modules/action/events/window.js:22–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected