Class: DocSkeletonManagerService
Defined in: docs/src/services/doc-skeleton-manager.service.ts:27
This service is for document build and manage doc skeletons. It also manages DocumentViewModels.
Extends
Implements
Constructors
new DocSkeletonManagerService()
new DocSkeletonManagerService(
_context,
_localeService,
_univerInstanceService): DocSkeletonManagerService
Defined in: docs/src/services/doc-skeleton-manager.service.ts:41
Parameters
Parameter | Type |
---|---|
_context | IRenderContext <DocumentDataModel > |
_localeService | LocaleService |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | core/src/shared/lifecycle.ts:96 |
currentSkeleton$ | readonly | Observable <Nullable <DocumentSkeleton >> | undefined | - | docs/src/services/doc-skeleton-manager.service.ts:32 |
currentSkeletonBefore$ | readonly | Observable <Nullable <DocumentSkeleton >> | undefined | - | docs/src/services/doc-skeleton-manager.service.ts:36 |
currentViewModel$ | readonly | Observable <Nullable <DocumentViewModel >> | undefined | - | docs/src/services/doc-skeleton-manager.service.ts:39 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | core/src/shared/lifecycle.ts:120 |
Methods
dispose()
dispose(): void
Defined in: docs/src/services/doc-skeleton-manager.service.ts:59
Returns
void
Implementation of
Overrides
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
RxDisposable
.ensureNotDisposed
getSkeleton()
getSkeleton(): DocumentSkeleton
Defined in: docs/src/services/doc-skeleton-manager.service.ts:66
Returns
getViewModel()
getViewModel(): DocumentViewModel
Defined in: docs/src/services/doc-skeleton-manager.service.ts:70