WinJS.Class Namespace

2 out of 3 rated this helpful - Rate this topic

Provides helper functions for defining Classes.

The WinJS.Class namespace has these types of members:

Functions

FunctionDescription

define function

Defines a class using the given constructor and the specified instance members.

derive function

Creates a sub-class based on the specified baseClass parameter, using prototype inheritance.

mix function

Defines a class using the given constructor and the union of the set of instance members specified by all the mixin objects. The mixin parameter list is of variable length.

For more information, see Adding functionality with WinJS mixins.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.