@univerjs-procollaboration-client-uiindexclassesWebbrowsersingleactiveunitservice

@univerjs-pro/collaboration-client-ui v0.5.4


Class: WebBrowserSingleActiveUnitService

Defined in: packages/collaboration-client-ui/src/services/single-active-unit/single-active-unit.service.ts:49

Extends

Implements

Constructors

new WebBrowserSingleActiveUnitService()

new WebBrowserSingleActiveUnitService(): WebBrowserSingleActiveUnitService

Defined in: packages/collaboration-client-ui/src/services/single-active-unit/single-active-unit.service.ts:61

Returns

WebBrowserSingleActiveUnitService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

dispose()

dispose(): void

Defined in: packages/collaboration-client-ui/src/services/single-active-unit/single-active-unit.service.ts:67

Returns

void

Overrides

Disposable.dispose


disposeUnit()

disposeUnit(unitID): void

Defined in: packages/collaboration-client-ui/src/services/single-active-unit/single-active-unit.service.ts:94

Parameters

ParameterType
unitIDstring

Returns

void


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


editingUnit()

editingUnit(unitID): void

Defined in: packages/collaboration-client-ui/src/services/single-active-unit/single-active-unit.service.ts:80

Parameters

ParameterType
unitIDstring

Returns

void

Implementation of

ISingleActiveUnitService.editingUnit


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


getUnitStatus$()

getUnitStatus$(unitID): Observable<UnitStatus>

Defined in: packages/collaboration-client-ui/src/services/single-active-unit/single-active-unit.service.ts:76

Parameters

ParameterType
unitIDstring

Returns

Observable<UnitStatus>

Implementation of

ISingleActiveUnitService.getUnitStatus$