ResizableContainerObserver Function
ResizableContainerObserver is a component that provides the functionality similar to the ReactResizeDetector option that call a function when the observed element is resized. This implementation properly handles observing element in pop-out/child windows. If children nodes are defined then the div added by the component is considered the container whose size will be observed. If no children are provided then the component will report size changes from its parent container.
ResizableContainerObserver(__namedParameters: { children?: ReactNode, onResize: undefined }): Element
Parameter | Type | Description |
---|---|---|
__namedParameters | { children?: ReactNode, onResize: undefined } |
Returns - Element
Defined in
Last Updated: 30 November, 2023