Detect window resize in canvas

Is there a way to detect in a canvas if the window is resizing?
There is no event in a canvas like the window.resizing event.

Or is this only possible by calling a canvas method from the window.resizing event?

Thank you.

is your canvas locked to the window? by that I mean does it automatically resize when the window resizes??

if so… then put CANVAS1.INVALIDATE in your WINDOW.RESIZED and/or WINDOW.RESIZING events