mitsubishi Class
mix in instance or prototype methods from classes
Item Index
Methods
instancePropsFromInstantiated
(
Object
-
child -
parent
Mix in INSTANCE properties from parent class(es) to child class.
Parameters:
-
childClassclass that will be decorated
-
parentClass | Arrayclass(es) (can be static or dynamic) that will be giving their properties to the new static class
Returns:
Object:
decorated child static class
protoPropsFromInstantiated
(
Object
-
child -
parent
Mix in PROTOTYPE properties from parent INSTANTIATED class(es) to child class.
Parameters:
-
childClassclass that will be decorated
-
parentClass | Arrayclass(es) (can be static or dynamic) that will be giving their properties to the new static class
Returns:
Object:
decorated child static class
protoPropsFromInstantiated
(
Object
-
child -
parent
Mix in PROTOTYPE properties from parent UNinstantiated class(es) to child class.
Parameters:
-
childClassclass that will be decorated
-
parentClass | Arrayclass(es) (can be static or dynamic) that will be giving their properties to the new static class
Returns:
Object:
decorated child static class
