@code3 said in Help Developing in Web Panels:
What event to listen for to know when the web panel is opened?
This fires on panel opening but not closing:
window.addEventListener('resize', () => { console.log("Panel opened..."); });As long as you don't need to worry about detecting closing as well, then that should work.
There is also this to check out:
https://developer.mozilla.org/en-US/docs/Web/API/Resize_Observer_API