EN
本內容沒有您的語言版本,但有英文版本。

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

Namespace

WinJS.Class

Library

Base.js

 

 

顯示:
© 2014 Microsoft