API Reference
@univerjs
@univerjs/ui
interfaces
Iuipartsservice

@univerjs/ui v0.4.2Docs


Interface: IUIPartsService

Properties

PropertyTypeDefined 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

ParameterType
partstring

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

ParameterType
partstring
componentFactory() => any

Returns

IDisposable

Defined in

packages/ui/src/services/parts/parts.service.ts:39 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.