@univerjs-pro/sheets-pivot v0.5.0-beta.1 • Docs
Class: UniverSheetsPivotTablePlugin
Plug-in base class, all plug-ins must inherit from this base class. Provide basic methods.
Extends
Constructors
new UniverSheetsPivotTablePlugin()
new UniverSheetsPivotTablePlugin(
_config,
_injector,
_commandService,
_configService,
_dataSyncPrimaryController?): UniverSheetsPivotTablePlugin
Parameters
Parameter | Type | Default value |
---|---|---|
_config | IUniverSheetsPivotConfig | defaultPluginConfig |
_injector | Injector | undefined |
_commandService | ICommandService | undefined |
_configService | IConfigService | undefined |
_dataSyncPrimaryController ? | DataSyncPrimaryController | undefined |
Returns
Overrides
Defined in
packages/sheets-pivot/src/plugin.ts:56
Properties
Property | Modifier | Type | Default value | Overrides | Inherited from | Defined in |
---|---|---|---|---|---|---|
_disposed | protected | boolean | false | - | Plugin ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
_injector | readonly | Injector | undefined | - | Plugin ._injector | packages/sheets-pivot/src/plugin.ts:58 |
pluginName | static | string | SHEET_PIVOT_TABLE_PLUGIN | Plugin .pluginName | - | packages/sheets-pivot/src/plugin.ts:53 |
type | static | UniverInstanceType | UniverInstanceType.UNIVER_SHEET | Plugin .type | - | packages/sheets-pivot/src/plugin.ts:54 |
Methods
_initConfig()
_initConfig(): void
Returns
void
Defined in
packages/sheets-pivot/src/plugin.ts:78
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
getPluginName()
getPluginName(): string
Returns
string
Inherited from
Defined in
submodules/univer/packages/core/src/services/plugin/plugin.ts:59
getUniverInstanceType()
getUniverInstanceType(): UniverInstanceType
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/services/plugin/plugin.ts:55
onReady()
onReady(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/services/plugin/plugin.ts:43
onRendered()
onRendered(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/services/plugin/plugin.ts:47
onStarting()
onStarting(): void
Returns
void
Overrides
Defined in
packages/sheets-pivot/src/plugin.ts:85
onSteady()
onSteady(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/services/plugin/plugin.ts:51