@univerjs/core v0.5.0-beta.1 • 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
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/mixin.ts:27