@univerjs/ui v0.5.0-beta.1 • Docs
Interface: IUIPartsService
Properties
Property | Type | Defined in |
---|---|---|
componentRegistered$ | Observable <string > | submodules/univer/packages/ui/src/services/parts/parts.service.ts:37 |
Methods
getComponents()
getComponents(part): Set<ComponentRenderer>
Parameters
Parameter | Type |
---|---|
part | string |
Returns
Set
<ComponentRenderer
>
Defined in
submodules/univer/packages/ui/src/services/parts/parts.service.ts:40
registerComponent()
registerComponent(part, componentFactory): IDisposable
Parameters
Parameter | Type |
---|---|
part | string |
componentFactory | () => any |
Returns
Defined in
submodules/univer/packages/ui/src/services/parts/parts.service.ts:39