webview element | webview object
Displays HTML content in an app.
The webview object has these types of members:
The webview object has these events.
Indicates that the HTML content is downloaded and is being loaded into the control.
Indicates that the main DOM elements have finished loading.
Indicates that the HTML content downloaded and is being loaded into the <iframe> control.
Indicates that the main DOM elements have finished loading in the <iframe>.
Indicates the navigation is complete, and all media elements are rendered in the <iframe>.
Indicates a <iframe> within a WebView is starting to navigate.
Indicates the navigation is complete, and all media elements are rendered.
Indicates the WebView is starting to navigate MSWebViewContentLoading The HTML content is downloaded and is being loaded into the control.
Raised when content in WebView is trying to open a new window.
Indicates that content in the WebView is trying to access functionality (such as geolocation, or pointer lock access) that normally requires end-user permissions.
Raised when a page inside the WebView element calls the window.external.notify method.
Raised when there is navigation to an Uniform Resource Identifier (URI) that WebView does not support.
Raised when the WebView cannot find the content.
The webview object has these methods.
Adds a native Windows Runtime object as a global parameter to the top-level document inside of a WebView.
Creates a URI that you can pass to navigateToLocalStreamUri.
Creates an image of the current webview element and write it to the specified image element.
Asynchronously gets a DataPackage that contains the selected content within the WebView.
Returns the specified deferred permission request.
Returns a list of deferred permission requests issued by content in the WebView control.
Navigates the WebView to the previous page in the navigation history.
Navigates the WebView to the next page in the navigation history.
As an asynchronous action, executes the specified script function from the currently loaded HTML, with specific arguments.
Loads the HTML content at the specified URI.
Loads local web content at the specified URI using an IUriToStreamResolver.
Loads the specified HTML content as a new document.
Navigates the webview to a URI with a POST request and HTTP headers.
Reloads the current content in the WebView.
Halts the current WebView navigation or download.
The webview object has these properties.
Gets a value that indicates whether the WebView can navigate backward.
Gets a value that indicates whether the WebView can navigate forward.
Gets the title of the page currently displayed in the WebView.
Gets or sets the height of the WebView.
Gets or sets the URI source of the HTML content to display in the WebView control.
Gets or sets the width of the WebView.
For more information, see the HTML WebView control sample.
|Volume size||AppCache per domain||AppCache per user|
|up to 4GB||10MB||50MB|
|4GB to 16GB||50MB||500MB|
|16GB to 32 GB||50MB||1GB|
All Windows 10 apps are intended to use the same AppCache quota model, so the available disk storage limitation applies to both desktop and phone apps. The is also a hard limit after pages loaded inside WebView together have consumed 1 GB of AppCache space; requests for additional AppCache storage above this limit will be denied.