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