@univerjs/core v0.4.2 • Docs
Function: mixinClass()
function mixinClass<T>(targetClassPrototype, mixin): void
Mixin some methods to targetObject as prototype, the static methods will not be mixed in
Type Parameters
Type Parameter |
---|
T |
Parameters
Parameter | Type | Description |
---|---|---|
targetClassPrototype | T | The target class to mixin |
mixin | IMixinProperty <T > | The mixin object which contains the methods to mixin. |
Returns
void
Defined in
submodules/univer/packages/core/src/common/mixin.ts:27 (opens in a new tab)