@univerjscoreclassesPlugin

@univerjs/core v0.5.4


Class: abstract Plugin

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:32

Plug-in base class, all plug-ins must inherit from this base class. Provide basic methods.

Extends

Extended by

Constructors

new Plugin()

new Plugin(): Plugin

Returns

Plugin

Inherited from

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:96
_injectorabstractInjectorundefined-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:37
pluginNamestaticstringundefined-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:33
typestaticUniverInstanceTypeUniverInstanceType.UNIVER_UNKNOWN-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:35

Methods

dispose()

dispose(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


getPluginName()

getPluginName(): string

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:59

Returns

string


getUniverInstanceType()

getUniverInstanceType(): UniverInstanceType

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:55

Returns

UniverInstanceType


onReady()

onReady(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:43

Returns

void


onRendered()

onRendered(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:47

Returns

void


onStarting()

onStarting(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:39

Returns

void


onSteady()

onSteady(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/plugin/plugin.ts:51

Returns

void