Handling Navigation and Navigation Events

You can use the methods exposed by the WebView control to handle navigation. For example, you can use the following three methods to display a web page:

Image navigate()—Displays a remote HTML page represented by a URL

Image navigateToString()—Displays an HTML page from an HTML string

Image NavigateToLocalStringUri—Displays a local HTML page represented by a URL

The WebView control also exposes several useful events including ...

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.