This is an overview of the most common usage of WebView. For more information about the available properties, methods, or events, head over to the complete API documentation for WebView.
<WebView> is a UI component that lets you show web content in your app. You can pull and show content from a URL or a local HTML file, or you can render static HTML content.
See also: HtmlView.
<WebView src="http://nativescript-vue.org/" />
<WebView src="~/html" />
<WebView src="<div><h1>Some static HTML</h1></div>" />

| Name | Type | Description |
|---|---|---|
src | String | Gets or sets the displayed web content. Valid values: an absolute URL, the path to a local HTML file, or static HTML. |
| Name | Description |
|---|---|
loadStarted | Emitted when the page has started loading in the <WebView>. |
loadFinished | Emitted when the page has finished loading in the <WebView>. |
| Android | iOS |
|---|---|
android.webkit.WebView | WKWebView |