Edit this page on Github

WebView

A component for displaying a webview

@Component({
  selector: 'sample',
  template: `<WebView [source]="{uri: 'https://www.angular.io'}" javaScriptEnabled="true" domStorageEnabled="true">
    </WebView>`
})
export class Sample {}

Available styles

https://facebook.github.io/react-native/docs/view.html#style

Inputs

Inherits all inputs from high level component

automaticallyAdjustContentInsets: boolean

To be documented

contentInset: any

To be documented

injectedJavaScript: any

To be documented

scalesPageToFit: boolean

To be documented

source: any

To be documented

androiddomStorageEnabled: boolean

To be documented

androidjavaScriptEnabled: boolean

To be documented

iosallowsInlineMediaPlayback: boolean

To be documented

iosbounces: boolean

To be documented

iosdecelerationRate: number

To be documented

iosscrollEnabled: boolean

To be documented

Outputs

loadingStart: EventEmitter<any>

To be documented

loadingFinish: EventEmitter<any>

To be documented

loadingError: EventEmitter<any>

To be documented

contentSizeChange: EventEmitter<any>

To be documented

Commands

goForward()

To be documented

reload()

To be documented

goBack()

To be documented


Getting started

Features

bootstrapAPIsGesturesHttpRouterStyle

Components

ActivityIndicatorHighLevelComponentImagePickerRefreshControlScrollViewSliderSwitchTextTextInputViewWebView
Android
DrawerLayoutPagerLayoutProgressBarToolbar
iOS
DatePickerNavigatorProgressViewSegmentedControlTabBarTabBarItem

Directives

Opacity feedbackRipple feedback