ElementResizeObserver Function
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) => ReactElement<any, string | JSXElementConstructor<any>>, watchedElement: | HTMLElement }): ReactElement<any, string | JSXElementConstructor<any>>
Parameter | Type | Description |
---|---|---|
__namedParameters | { render: (props: RenderPropsArgs) => ReactElement<any, string | JSXElementConstructor<any>>, watchedElement: | HTMLElement } |
Returns - ReactElement<any, string | JSXElementConstructor<any>>
Defined in
Last Updated: 05 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.