API Reference
@univerjs
@univerjs/docs
classes
Docstateemitservice

@univerjs/docs v0.4.2Docs


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 (opens in a new tab)

Properties

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

Methods

dispose()

dispose(): void

Returns

void

Overrides

RxDisposable.dispose

Defined in

docs/src/services/doc-state-emit.service.ts:56 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

Defined in

core/src/shared/lifecycle.ts:96 (opens in a new tab)


emitStateChangeInfo()

emitStateChangeInfo(params): void

Parameters

ParameterType
paramsIDocStateChangeInfo

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

Defined in

core/src/shared/lifecycle.ts:100 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.