@univerjs-pro/edit-history-loader v0.5.0-beta.1 • Docs
Class: HistoryLoaderService
Extends
Constructors
new HistoryLoaderService()
new HistoryLoaderService(
_localeService,
_univerInstanceService,
_configService,
_commandService,
_messageService,
_permissionService,
_selectionProtectionRuleModel,
_dialogService,
_sidebarService): HistoryLoaderService
Parameters
Parameter | Type |
---|---|
_localeService | LocaleService |
_univerInstanceService | IUniverInstanceService |
_configService | IConfigService |
_commandService | ICommandService |
_messageService | IMessageService |
_permissionService | IPermissionService |
_selectionProtectionRuleModel | RangeProtectionRuleModel |
_dialogService | IDialogService |
_sidebarService | ISidebarService |
Returns
Overrides
Defined in
packages/edit-history-loader/src/services/history-loader.service.ts:45
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
packages/edit-history-loader/src/services/history-loader.service.ts:129
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
getAllPlugins()
getAllPlugins(): [PluginCtor, object][]
Returns
[PluginCtor
, object
][]
Defined in
packages/edit-history-loader/src/services/history-loader.service.ts:142
mountHistoryContent()
mountHistoryContent(unitId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
Defined in
packages/edit-history-loader/src/services/history-loader.service.ts:146
registerPlugin()
registerPlugin<T>(
ctor,
config?,
override?): void
Type Parameters
Type Parameter |
---|
T extends PluginCtor |
Parameters
Parameter | Type |
---|---|
ctor | T |
config ? | ConstructorParameters <T >[0 ] |
override ? | false |
Returns
void
Defined in
packages/edit-history-loader/src/services/history-loader.service.ts:135
unMountHistoryContent()
unMountHistoryContent(): void
Returns
void
Defined in
packages/edit-history-loader/src/services/history-loader.service.ts:155