@univerjsdocsclassesDocstateemitservice

@univerjs/docs v0.5.0-beta.1Docs


Class: DocStateEmitService

Extends

Constructors

new DocStateEmitService()

new DocStateEmitService(): DocStateEmitService

Returns

DocStateEmitService

Overrides

RxDisposable.constructor

Defined in

docs/src/services/doc-state-emit.service.ts:48

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedcore/src/shared/lifecycle.ts:93
dispose$protectedSubject<void>undefinedRxDisposable.dispose$core/src/shared/lifecycle.ts:117
docStateChangeParams$readonlyObservable<Nullable<IDocStateChangeInfo>>undefined-docs/src/services/doc-state-emit.service.ts:46

Methods

dispose()

dispose(): void

Returns

void

Overrides

RxDisposable.dispose

Defined in

docs/src/services/doc-state-emit.service.ts:56


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

Defined in

core/src/shared/lifecycle.ts:96


emitStateChangeInfo()

emitStateChangeInfo(params): void

Parameters

ParameterType
paramsIDocStateChangeInfo

Returns

void

Defined in

docs/src/services/doc-state-emit.service.ts:52


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

RxDisposable.ensureNotDisposed

Defined in

core/src/shared/lifecycle.ts:100