Now that we've seen how WinJS binds information to attributes and elements, we'll look at how data can be more efficiently passed, through Binding Lis
...继续阅读
(19)
We just created a WinJS control declaratively - using markup in HTML to create controls. We can also create WinJS controls imperatively in the JavaScr
...继续阅读
(13)
And that brings us to the end of our tutorial. We hope you enjoyed learning WinJS and with luck, this marks only the beginning of your WinJS journey.
...继续阅读
(39)
In the last chapter, we worked with WinJS Binding Lists, using Binding Templates. Binding Lists also come with the neat feature of projections. Projec
...继续阅读
(9)
StringsourceMethodscontains(content) → {boolean} sourceDetermines whether a substring exists within this string.Parameters:NameTypeDescriptioncon
...继续阅读
(12)
UpperCaseConvertersourceConverts a string to upper-case.Methodsconvert(v) → {string} sourceConverts the specified string to all upper case letter
...继续阅读
(16)
TrimConvertersourceTrims a string of white space.ExampleRemoves leading and trailing white space from a string.var Converter= require("./converter").C
...继续阅读
(11)