Creating classes in WinJS

Sure using classes in JavaScript may not be a great idea, you can’t help but argue that there are valid scenarios which you would be wanting to use the class pattern.
If you’re doing WinJS development there’s an API that will allow yo…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

Sure using classes in JavaScript may not be a great idea, you can’t help but argue that there are valid scenarios which you would be wanting to use the class pattern. If you’re doing WinJS development there’s an API that will allow you to make classes easily, WinJS.Class being the root. From here you can define new classes, derive classes or create mixins. Creating a classIt’s very easy to create a class using the WinJS API, here’s a simple person:


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2022-09-29T22:15:15+00:00) » Creating classes in WinJS. Retrieved from https://www.scien.cx/2012/09/14/creating-classes-in-winjs/.
MLA
" » Creating classes in WinJS." Posts on LINQ to Fail | Sciencx - Friday September 14, 2012, https://www.scien.cx/2012/09/14/creating-classes-in-winjs/
HARVARD
Posts on LINQ to Fail | Sciencx Friday September 14, 2012 » Creating classes in WinJS., viewed 2022-09-29T22:15:15+00:00,<https://www.scien.cx/2012/09/14/creating-classes-in-winjs/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Creating classes in WinJS. [Internet]. [Accessed 2022-09-29T22:15:15+00:00]. Available from: https://www.scien.cx/2012/09/14/creating-classes-in-winjs/
CHICAGO
" » Creating classes in WinJS." Posts on LINQ to Fail | Sciencx - Accessed 2022-09-29T22:15:15+00:00. https://www.scien.cx/2012/09/14/creating-classes-in-winjs/
IEEE
" » Creating classes in WinJS." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2012/09/14/creating-classes-in-winjs/. [Accessed: 2022-09-29T22:15:15+00:00]
rf:citation
» Creating classes in WinJS | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2012/09/14/creating-classes-in-winjs/ | 2022-09-29T22:15:15+00:00
https://github.com/addpipe/simple-recorderjs-demo