new WKcClass() → {Object}
The meta class
WKcClass can be used to create classes.
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
p_args.fullName |
String |
<optional> |
The full name of the class: path + "." + id. |
p_args.id |
String |
<optional> |
A unique identifier of the class. |
p_args.path |
String |
<optional> |
The path, where the class is stored. |
p_args.methods |
Object |
<optional> |
The methods of the class (incl. real getters and setters). |
p_args.observers |
Object |
<optional> |
The observer methods of the class;
this denotes the
object itself. |
p_args.inherit |
Class |
<optional> |
A superclass, the methods of which are inherited. |
p_args.mixin |
Class | Array |
<optional> |
A class or an array of classes, the methods of which are directly copied into the prototype object of the new class. |
p_args.staticMethods |
Object |
<optional> |
The static methods of the class (incl. real getters and setters). |
p_args.staticObservers |
Object |
<optional> |
The static observer methods of the
class. this denotes
the class itself. |
p_args.staticMixin |
Class | Array |
<optional> |
A class or an array of classes, the class methods of which are directly copied into the new class object. |
- Source:
Returns:
A new class (object).
- Type
- Object