Using the WebView Control

The WebView control (new in WinJS 2.0) enables you to embed a web page hosted on the Internet in your Windows Store app. There are several different scenarios in which it makes sense for you to use this control.

Imagine, for example, that you want to create a hybrid Windows Store app and website. You might want to implement your actual app using WinJS controls but host all of the help documentation for your app as web pages on a public website. In that case, you could use the WebView control to display your help documentation from the Internet.

Or, you might want to build an app that interacts with web pages hosted on the Internet. For example, you might want to build a Research app that enables you to take clippings ...

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.