mix function
Collapse the table of content
Expand the table of content

WinJS.Class.mix function

Applies to Windows and Windows Phone

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.

Syntax


var object = WinJS.Class.mix(constructor);

Parameters

constructor

Type: Function

A constructor function that will be used to instantiate this class.

Return value

Type: Object

The newly defined class.

Remarks

For more information about mixins, see Mixin.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Class

 

 

Show:
© 2016 Microsoft