Class: UIPartsService
Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:54
Extends
Implements
Constructors
new UIPartsService()
new UIPartsService(): UIPartsService
Returns
Inherited from
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 |
componentRegistered$ | readonly | Observable <string > | undefined | - | submodules/univer/packages/ui/src/services/parts/parts.service.ts:58 |
uiVisibleChange$ | readonly | Observable <{ ui : string ; visible : boolean ; }> | undefined | - | submodules/univer/packages/ui/src/services/parts/parts.service.ts:61 |
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:63
Returns
void
Overrides
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getComponents()
getComponents(part): Set<any>
Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:96
Parameters
Parameter | Type |
---|---|
part | string |
Returns
Set
<any
>
Implementation of
isUIVisible()
isUIVisible(part): boolean
Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:74
Parameters
Parameter | Type |
---|---|
part | string |
Returns
boolean
Implementation of
registerComponent()
registerComponent(part, componentFactory): IDisposable
Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:78
Parameters
Parameter | Type |
---|---|
part | string |
componentFactory | () => ComponentType <{}> |
Returns
Implementation of
IUIPartsService
.registerComponent
setUIVisible()
setUIVisible(part, visible): void
Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:69
Parameters
Parameter | Type |
---|---|
part | string |
visible | boolean |
Returns
void