@univerjs/docs v0.4.2 • Docs
Class: DocStateEmitService
Extends
Constructors
new DocStateEmitService()
new DocStateEmitService(): DocStateEmitService
Returns
Overrides
Defined in
docs/src/services/doc-state-emit.service.ts:48 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | core/src/shared/lifecycle.ts:93 (opens in a new tab) |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | core/src/shared/lifecycle.ts:117 (opens in a new tab) |
docStateChangeParams$ | readonly | Observable <Nullable <IDocStateChangeInfo >> | undefined | - | docs/src/services/doc-state-emit.service.ts:46 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
docs/src/services/doc-state-emit.service.ts:56 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
core/src/shared/lifecycle.ts:96 (opens in a new tab)
emitStateChangeInfo()
emitStateChangeInfo(params): void
Parameters
Parameter | Type |
---|---|
params | IDocStateChangeInfo |
Returns
void
Defined in
docs/src/services/doc-state-emit.service.ts:52 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed