class dom::ResizeObserver
sys::Obj dom::ResizeObserver
@Js
ResizeObserver invokes a callback when Elem size is changed.
- disconnect
-
This disconnect()
Disconnect this observer from all resize events for all nodes.
- make
-
new make()
Create a new ResizeObserver instance.
- observe
-
Register to receive resize events for given node.
- onResize
-
Void onResize(|ResizeObserverEntry[]| callback)
Callback when an observed target size has been modified.
- unobserve
-
Stop receiving resize events for given node.