UNPKG

@native-html/iframe-plugin

Version:

🌐 A WebView-based plugin to render iframes in react-native-render-html

19 lines (10 loc) 639 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@native-html/iframe-plugin](./iframe-plugin.md) &gt; [IframeConfig](./iframe-plugin.iframeconfig.md) &gt; [scalesPageToFit](./iframe-plugin.iframeconfig.scalespagetofit.md) ## IframeConfig.scalesPageToFit property When the iframe attribute width is wider than the contentWidth, scales down the viewport so that it doesn't overflows horizontally. <b>Signature:</b> ```typescript scalesPageToFit?: boolean; ``` ## Remarks Although it looks like the eponymous `WebView` prop, it works both on iOS and Android.