@univerjs/ui v0.5.0-beta.1 • Docs
Class: UIPartsService
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:93 |
componentRegistered$ | readonly | Observable <string > | undefined | - | submodules/univer/packages/ui/src/services/parts/parts.service.ts:49 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
submodules/univer/packages/ui/src/services/parts/parts.service.ts:51
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
getComponents()
getComponents(part): Set<any>
Parameters
Parameter | Type |
---|---|
part | string |
Returns
Set
<any
>
Implementation of
Defined in
submodules/univer/packages/ui/src/services/parts/parts.service.ts:75
registerComponent()
registerComponent(part, componentFactory): IDisposable
Parameters
Parameter | Type |
---|---|
part | string |
componentFactory | () => ComponentType <{}> |
Returns
Implementation of
IUIPartsService
.registerComponent
Defined in
submodules/univer/packages/ui/src/services/parts/parts.service.ts:57