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


Interface: ISidebarService

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
Returns

ISidebarMethodOptions

Defined in

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


visible

Get Signature

get visible(): boolean
Returns

boolean

Defined in

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

Methods

close()

close(id?): void

Parameters

ParameterType
id?string

Returns

void

Defined in

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


getContainer()

getContainer(): undefined | HTMLElement

Returns

undefined | HTMLElement

Defined in

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


open()

open(params): IDisposable

Parameters

ParameterType
paramsISidebarMethodOptions

Returns

IDisposable

Defined in

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


setContainer()

setContainer(element?): void

Parameters

ParameterType
element?HTMLElement

Returns

void

Defined in

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