contentInset

startInLoadingState

style

onShouldStartLoadWithRequest

Allows custom handling of any webview requests by a JS handler. Return true or false from this method to continue loading the request.

Type

Required

Platform

function

No

iOS

domStorageEnabled

Used on Android only, controls whether DOM Storage is enabled or not

Type

Required

Platform

bool

No

Android

javaScriptEnabled

Used on Android only, JS is enabled by default for WebView on iOS

Type

Required

Platform

bool

No

Android

allowsInlineMediaPlayback

Determines whether HTML5 videos play inline or use the native full-screen controller. default value falseNOTE : "In order for video to play inline, not only does this property need to be set to true, but the video element in the HTML document must also include the webkit-playsinline attribute."

Type

Required

Platform

bool

No

iOS

bounces

Type

Required

Platform

bool

No

iOS

decelerationRate

A floating-point number that determines how quickly the scroll view decelerates after the user lifts their finger. You may also use string shortcuts "normal" and "fast" which match the underlying iOS settings for UIScrollViewDecelerationRateNormal and UIScrollViewDecelerationRateFast respectively.

Normal: 0.998

Fast: 0.9 (the default for iOS WebView)

Type

Required

Platform

ScrollView.propTypes.decelerationRate

No

iOS

scrollEnabled

Type

Required

Platform

bool

No

iOS

url

Deprecated. Use the source prop instead.

Type

Required

string

No

html

Deprecated. Use the source prop instead.

Type

Required

string

No

Methods

goForward()

goForward();

goBack()

goBack();

reload()

reload();

updateNavigationState()

updateNavigationState((event: Event));

We return an event with a bunch of fields including: url, title, loading, canGoBack, canGoForward