neomjs / neo

The application worker driven frontend framework
https://neomjs.com
MIT License
2.76k stars 149 forks source link

plugin.Responsive: owner.on({mounted: 'onOwnerMounted'}) #5460

Open tobiu opened 1 month ago

tobiu commented 1 month ago

we need to move the resize listener logic outside of construct().

rationale: moving a component into the viewport of a different window => we still want it to be responsive.