MCPcopy
hub / github.com/ChinaGodMan/UserScripts / resizeHandler

Function resizeHandler

youtube-dynamic-grid/youtube-dynamic-grid.user.js:730–736  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

728 return null
729 }
730 const resizeHandler = () => {
731 clearTimeout(this.resizeTimeout)
732 this.resizeTimeout = setTimeout(() => {
733 logger('Window resized', 'debug')
734 if (!isPlaylistPage()) GridManager.updateGrid()
735 }, CONFIG.DEBOUNCE_DELAY)
736 }
737 const loadHandler = () => {
738 logger('Page loaded', 'debug')
739 this.handleNavigation()

Callers

nothing calls this directly

Calls 2

loggerFunction · 0.85
isPlaylistPageFunction · 0.85

Tested by

no test coverage detected