Skip to content

Latest commit

 

History

History
173 lines (76 loc) · 2.08 KB

File metadata and controls

173 lines (76 loc) · 2.08 KB

Home > @native-html/iframe-plugin > HTMLIframeProps

HTMLIframeProps interface

Props for the HTMLIframe component.

Signature:

export interface HTMLIframeProps<WebViewProps = any> extends IframeConfig 

Extends: IframeConfig

Properties

Property

Modifiers

Type

Description

htmlAttribs

Record<string, string>

Html attributes for this iframe node.

onLinkPress?

RenderersProps['a']['onPress']

(Optional) Handle link press events.

scaleFactor

number

When scalesPageToFit is enabled, scales the WebView zoom level to make sure the viewport fits contentWidth.

source

{ uri?: string; html?: string; }

The source for the iframe.

style

StyleProp<ViewStyle>

Container style.

WebView

ComponentType<WebViewProps>

The WebView Component you wish to use.

webViewProps?

WebViewProps

(Optional) Props to be passed to the WebView component;