Aplicativos do Windows
Recolher sumário
Expandir sumário
EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

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 WinJS version

WinJS 1.0

Namespace

WinJS.Class

 

 

Mostrar:
© 2016 Microsoft