onResize property

ResizeSensorHandler? onResize
getter/setter pair

A function invoked with a ResizeSensorEvent argument when the ResizeSensor resizes, either due to its parent or children resizing.

If this callback is not firing when you expect it to, check out onDetachedMountCheck for a possible workaround.

Related: onInitialize

Implementation

ResizeSensorHandler? onResize;