@univerjs/sheets-graphics v0.5.4
Class: UniverSheetGraphicsPlugin
Defined in: sheets-graphics/src/plugin.ts:27
Plug-in base class, all plug-ins must inherit from this base class. Provide basic methods.
Extends
Constructors
new UniverSheetGraphicsPlugin()
new UniverSheetGraphicsPlugin(
_config,
_injector,
_configService,
_renderManagerService): UniverSheetGraphicsPlugin
Defined in: sheets-graphics/src/plugin.ts:30
Parameters
Parameter | Type | Default value |
---|---|---|
_config | Partial <IUniverSheetGraphicsConfig > | defaultPluginConfig |
_injector | Injector | undefined |
_configService | IConfigService | undefined |
_renderManagerService | IRenderManagerService | undefined |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Overrides | Inherited from | Defined in |
---|---|---|---|---|---|---|
_disposed | protected | boolean | false | - | Plugin ._disposed | core/src/shared/lifecycle.ts:96 |
_injector | protected | Injector | undefined | - | Plugin ._injector | sheets-graphics/src/plugin.ts:32 |
pluginName | static | string | PLUGIN_NAME | Plugin .pluginName | - | sheets-graphics/src/plugin.ts:28 |
type | static | UniverInstanceType | UniverInstanceType.UNIVER_UNKNOWN | - | Plugin .type | core/src/services/plugin/plugin.ts:35 |
Methods
dispose()
dispose(): void
Defined in: core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getPluginName()
getPluginName(): string
Defined in: core/src/services/plugin/plugin.ts:59
Returns
string
Inherited from
getUniverInstanceType()
getUniverInstanceType(): UniverInstanceType
Defined in: core/src/services/plugin/plugin.ts:55
Returns
Inherited from
onReady()
onReady(): void
Defined in: core/src/services/plugin/plugin.ts:43
Returns
void
Inherited from
onRendered()
onRendered(): void
Defined in: sheets-graphics/src/plugin.ts:46
Returns
void
Overrides
onStarting()
onStarting(): void
Defined in: core/src/services/plugin/plugin.ts:39
Returns
void
Inherited from
onSteady()
onSteady(): void
Defined in: core/src/services/plugin/plugin.ts:51
Returns
void