@univerjs/ui v0.5.4


Interface: IUIPartsService

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

Properties

PropertyTypeDefined in
componentRegistered$Observable<string>submodules/univer/packages/ui/src/services/parts/parts.service.ts:41
uiVisibleChange$Observable<{ ui: string; visible: boolean; }>submodules/univer/packages/ui/src/services/parts/parts.service.ts:42

Methods

getComponents()

getComponents(part): Set<ComponentRenderer>

Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:45

Parameters

ParameterType
partstring

Returns

Set<ComponentRenderer>


isUIVisible()

isUIVisible(part): boolean

Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:49

Parameters

ParameterType
partstring

Returns

boolean


registerComponent()

registerComponent(part, componentFactory): IDisposable

Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:44

Parameters

ParameterType
partstring
componentFactory() => any

Returns

IDisposable


setUIVisible()

setUIVisible(part, visible): void

Defined in: submodules/univer/packages/ui/src/services/parts/parts.service.ts:47

Parameters

ParameterType
partstring
visibleboolean

Returns

void