摘要:
Promise.any ---- 参数是一个promise的数组。any的作用就是 promise 数组中任意一个 promise 执行完毕,就会执行 done内的函数(function () { "use strict"; WinJS.Binding.optimizeBindingReferences = true; var app = WinJS.Application; var activation = Windows.ApplicationModel.Activation; app.onactivated = function (args) { ... 阅读全文
摘要:
前台html 绑定(view)://js 实现 viewmodel(function () { "use strict"; WinJS.Binding.optimizeBindingReferences = true; var app = WinJS.Application; var activation = Windows.ApplicationModel.Activation; app.onactivated = function (args) { if (args.detail.kind === activation.ActivationKin... 阅读全文
摘要:
using css@media screen and (-ms-view-state: fullscreen-landscape) {}@media screen and (-ms-view-state: fullscreen-portrait) {}@media screen and (-ms-view-state: filled) {}@media screen and (-ms-view-state: snapped) {}using js:(function () { "use strict"; var app = WinJS.Application; var vi 阅读全文