CHAPTER 3
Basic WinJS Controls
This chapter provides an overview of the controls that are available in the WinJS library, which can be used by developers to quickly build their Windows apps. It explores how to add WinJS controls to a page, as well basic WinJS controls like the ToggleSwitch, Rating, DatePicker, TimePicker, tooltip, text controls, and more.
There are advanced controls in WinJS that can be used to list records, display menus, or add toolbars in an app. (Chapter 4 covers advanced controls like ListView, Toolbar, and AppBar.)
3.1 Declaring a WinJS Control on a Page
Problem
You need to add or declare a WinJS control on a page of your ...
Get Windows 10 Development Recipes: A Problem-Solution Approach in HTML and JavaScript 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.