Skip to content

Latest commit

 

History

History
117 lines (54 loc) · 1.92 KB

File metadata and controls

117 lines (54 loc) · 1.92 KB

Home > @native-html/iframe-plugin

iframe-plugin package

Functions

Function

Description

HTMLIframe({ WebView, webViewProps: userWebViewProps, source, style, onLinkPress, scaleFactor, injectedCSSStyles, removeBodySpacing, scalesPageToFit }, input)

A component to render iframes in @native-html/render.

useHtmlIframeProps({ style, tnode }, input, iframeConfig)

Extract props for the HTMLIframe component from renderer function arguments. This function is especially usefull for custom iframe renderers.

Interfaces

Interface

Description

HTMLIframeProps

Props for the HTMLIframe component.

IframeConfig

Configuration options for the HTMLIframe component. You can pass those options through renderersProps.iframe HTML prop.

Variables

Variable

Description

iframeModel

The model to attach to custom iframe renderers.

IframeRenderer

The renderer component for the iframe element. This renderer is fully scalable, and will adjust to contentWidth and computeEmbeddedMaxWidth. It also features onLinkPress.