EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

WinJS.Class Namespace

Applies to Windows and Windows Phone

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]

Minimum supported phone

Windows Phone 8.1

Library

Base.js

 

 

Afficher:
© 2014 Microsoft