Variable: HandleHTMLDimensionsFeature

• Const HandleHTMLDimensionsFeature: FeatureClass<HandleHTMLDimensionsOptions, { onDOMHTMLDimensions: PropDefinition<"onDOMHTMLDimensions", (d: HTMLDimensions) => void> }>

This feature provides onDOMHTMLDimensions prop with HTMLDimensions payloads. It enables receiving various dimensions relative to the layout when a change is observed to either the layout or the content size. The feature can be customized with HandleHTMLDimensionsOptions. See this guide for an example.

remarks If you need to guarantee that 1 CSS pixel = 1 Device pixel, you should use this feature with a meta tag viewport setting width to device width. See ForceResponsiveViewportFeature