Using the Hub Control
The Hub
control is new with WinJS 2.0. The control provides you with a way to organize the content in your app into different sections. Each section can have a custom layout.
For example, the Store app included in Windows 8.1 uses the Hub
control (see Figure 4.22). When you open the store and view the home-page, you can see all of the available apps organized into different sections such as New Releases and Top Paid. These different sections were created with the Hub
control.
Note
The Visual Studio 2013 Hub App project template uses the Hub
control.
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.