ElementResizeObserver Function

Deprecated  in 4.15.0. Used internally.

ElementResizeObserver provides functionality similar to ReactResizeDetector when a render function is specified. This implementation properly handles observing element in pop-out/child windows.

ElementResizeObserver(__namedParameters: { render: (props: RenderPropsArgs) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, watchedElement: "null" | HTMLElement }): React.ReactElement<any, string | React.JSXElementConstructor<any>>

Parameter Type Description
__namedParameters { render: (props: RenderPropsArgs) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, watchedElement: "null" | HTMLElement }  

Returns - React.ReactElement<any, string | React.JSXElementConstructor>

Defined in

Last Updated: 17 December, 2024