WinJS

来自 WinStory Wiki
跳转到导航 跳转到搜索
WinJS
Microsoft Windows 的组件
类型Library
推出于Windows 8
最后包含于Windows 10

Windows Library for JavaScript (WinJS) is a library of CSS and JavaScript files. It contains JavaScript objects, organized into namespaces, designed to make developing Windows Store app using JavaScript easier. It includes objects that help users handle activation, access storage, and define the user’s own classes and namespaces. It also includes a set of controls.

The Windows Library for JavaScript provides a set of new controls designed for Windows Store apps using JavaScript, such as the WinJS.UI.DatePicker, WinJS.UI.FlipView, WinJS.UI.ListView, and WinJS.UI.Rating controls. It also includes two style sheets (one with a dark colour scheme and one with a light) that give the user’s app the look and feel of Windows 8.