@univerjs/sheets-numfmt v0.5.4
Class: UniverSheetsNumfmtPlugin
Defined in: sheets-numfmt/src/numfmt-plugin.ts:30
Plug-in base class, all plug-ins must inherit from this base class. Provide basic methods.
Extends
Constructors
new UniverSheetsNumfmtPlugin()
new UniverSheetsNumfmtPlugin(
_config,
_injector,
_commandService): UniverSheetsNumfmtPlugin
Defined in: sheets-numfmt/src/numfmt-plugin.ts:34
Parameters
Parameter | Type | Default value |
---|---|---|
_config | undefined | undefined |
_injector | Injector | undefined |
_commandService | ICommandService | 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 | readonly | Injector | undefined | - | Plugin ._injector | sheets-numfmt/src/numfmt-plugin.ts:36 |
pluginName | static | string | SHEET_NUMFMT_PLUGIN | Plugin .pluginName | - | sheets-numfmt/src/numfmt-plugin.ts:31 |
type | static | UniverInstanceType | UniverInstanceType.UNIVER_SHEET | Plugin .type | - | sheets-numfmt/src/numfmt-plugin.ts:32 |
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-numfmt/src/numfmt-plugin.ts:54
Returns
void
Overrides
onStarting()
onStarting(): void
Defined in: sheets-numfmt/src/numfmt-plugin.ts:42
Returns
void
Overrides
onSteady()
onSteady(): void
Defined in: core/src/services/plugin/plugin.ts:51
Returns
void