Introducing a new set of controls
Besides content, your app will need controls; regular HTML controls such as buttons, select lists, and checkboxes; and some Windows 8 exclusive controls such as the AppBar rating and settings. In addition to the standard built-in HTML controls, WinJS
provides a set of new and feature-rich controls designed for Windows Store apps using JavaScript. These controls are basically objects available in the WinJS.UI
namespace; so, a date picker control will look like WinJS.UI.DatePicker
. Here is a list of the major WinJS.UI
controls you will use in an app:
DatePicker
: This renders a customizable control that is used to select a date valueTimePicker
: This renders a customizable control that is used to select a time valueMenu
: This renders a menu flyout control for displaying commandsAppBar
: This renders an application toolbar for displaying commandsFlipView
: This renders a collection of items to be displayed one item at a timeListView
: This renders a collection of...