@univerjs/ui v0.5.4


Interface: ISidebarService

Defined in: submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:23

Properties

PropertyModifierTypeDefined in
scrollEvent$readonlySubject<Event>submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:25
sidebarOptions$readonlySubject<ISidebarMethodOptions>submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:24

Accessors

options

Get Signature

get options(): ISidebarMethodOptions

Defined in: submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:32

Returns

ISidebarMethodOptions


visible

Get Signature

get visible(): boolean

Defined in: submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:30

Returns

boolean

Methods

close()

close(id?): void

Defined in: submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:28

Parameters

ParameterType
id?string

Returns

void


getContainer()

getContainer(): undefined | HTMLElement

Defined in: submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:34

Returns

undefined | HTMLElement


open()

open(params): IDisposable

Defined in: submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:27

Parameters

ParameterType
paramsISidebarMethodOptions

Returns

IDisposable


setContainer()

setContainer(element?): void

Defined in: submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:35

Parameters

ParameterType
element?HTMLElement

Returns

void