@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
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/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
disposeUnit()
disposeUnit(unitID): void
Defined in: packages/collaboration-client-ui/src/services/single-active-unit/single-active-unit.service.ts:94
Parameters
Parameter | Type |
---|---|
unitID | string |
Returns
void
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
editingUnit()
editingUnit(unitID): void
Defined in: packages/collaboration-client-ui/src/services/single-active-unit/single-active-unit.service.ts:80
Parameters
Parameter | Type |
---|---|
unitID | string |
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
getUnitStatus$()
getUnitStatus$(unitID): Observable<UnitStatus>
Defined in: packages/collaboration-client-ui/src/services/single-active-unit/single-active-unit.service.ts:76
Parameters
Parameter | Type |
---|---|
unitID | string |
Returns
Observable
<UnitStatus
>