Mixin classes provide functionality intended to be used by different Client Framework 2 components. Please note that mixin classes cannot be instantiated, attempting to do so will result in an error being thrown.
This component is deprecated and is replaced with the mixin(c) method provided by the cf2:Class component.
n/a
The V$ object contains the mixin(sourceClass, targetClass) method.
Adds the methods defined in the sourceClass's prototype object to the targetClass's prototype object.
Parameter | Description | Type |
---|---|---|
sourceClass | The source class which prototype methods are to be added to the targetClass's prototype object. | Object |
targetClass | The target class which prototype object will be updated with the methods from the sourceClass's prototype. | Object |