chrome-extensions-samples icon indicating copy to clipboard operation
chrome-extensions-samples copied to clipboard

How to listen window moved progress?

Open noiseXfragment opened this issue 2 years ago • 2 comments

Hello there, how to listen window moved progress? im using event chrome.windows.onBoundsChanged but this event only trigger after move finish

noiseXfragment avatar Aug 02 '22 04:08 noiseXfragment

Hello there, how to listen window moved progress? im using event chrome.windows.onBoundsChanged but this event only trigger after move finish

+1

makanSukros avatar Aug 02 '22 04:08 makanSukros

In what context? @noiseXfragment

Content script? Background Script? Popup page?

If there's a window reference, you can always attach an event listener.

window.addEventListener('resize', function(event){ console.count('Count of Resizes')// Monitor the actual resize count });

Ambushfall avatar Aug 20 '22 14:08 Ambushfall

This isn't currently supported. You can make a feature request on crbug.com

patrickkettner avatar Dec 04 '23 11:12 patrickkettner