Component Page Events: page on resize, how can get it?

Hi all,
in some case, I really need get Component page event: on resize,
I checked,
and also try just put:

on: {
console.log(’–ON change-------------’)

console.log(’–ON resize---------------’)

nothing works…
so, pls help!
Thx a lot!

Ok, and where did you see there resize event?

window.addEventListener('resize', () => {
  // do something on window resize
1 Like

Thanks!!! :kissing_heart: