@univerjs-pro/edit-history-loader v0.5.4
Class: HistoryLoaderService
Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:50
Extends
Constructors
new HistoryLoaderService()
new HistoryLoaderService(
_localeService,
_univerInstanceService,
_configService,
_commandService,
_messageService,
_permissionService,
_selectionProtectionRuleModel,
_dialogService,
_sidebarService): HistoryLoaderService
Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:54
Parameters
Parameter | Type |
---|---|
_localeService | LocaleService |
_univerInstanceService | IUniverInstanceService |
_configService | IConfigService |
_commandService | ICommandService |
_messageService | IMessageService |
_permissionService | IPermissionService |
_selectionProtectionRuleModel | RangeProtectionRuleModel |
_dialogService | IDialogService |
_sidebarService | ISidebarService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
Methods
dispose()
dispose(): void
Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:141
Returns
void
Overrides
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getAllPlugins()
getAllPlugins(): [PluginCtor, object][]
Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:154
Returns
[PluginCtor
, object
][]
mountHistoryContent()
mountHistoryContent(unitId): void
Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:158
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
registerPlugin()
registerPlugin<T>(
ctor,
config?,
override?): void
Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:147
Type Parameters
Type Parameter |
---|
T extends PluginCtor |
Parameters
Parameter | Type |
---|---|
ctor | T |
config ? | ConstructorParameters <T >[0 ] |
override ? | false |
Returns
void
unMountHistoryContent()
unMountHistoryContent(): void
Defined in: packages/edit-history-loader/src/services/history-loader.service.ts:167
Returns
void