@univerjs/ui v0.5.0-beta.1Docs


Interface: IUIPartsService

Properties

PropertyTypeDefined in
componentRegistered$Observable<string>submodules/univer/packages/ui/src/services/parts/parts.service.ts:37

Methods

getComponents()

getComponents(part): Set<ComponentRenderer>

Parameters

ParameterType
partstring

Returns

Set<ComponentRenderer>

Defined in

submodules/univer/packages/ui/src/services/parts/parts.service.ts:40


registerComponent()

registerComponent(part, componentFactory): IDisposable

Parameters

ParameterType
partstring
componentFactory() => any

Returns

IDisposable

Defined in

submodules/univer/packages/ui/src/services/parts/parts.service.ts:39