@univerjsuiindexclassesDesktopsidebarservice

@univerjs/ui v0.5.4


Class: DesktopSidebarService

Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:24

Implements

Constructors

new DesktopSidebarService()

new DesktopSidebarService(): DesktopSidebarService

Returns

DesktopSidebarService

Properties

PropertyModifierTypeDefined in
scrollEvent$readonlySubject<Event>submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:28
sidebarOptions$readonlySubject<ISidebarMethodOptions>submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:26

Accessors

options

Get Signature

get options(): ISidebarMethodOptions

Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:36

Returns

ISidebarMethodOptions

Implementation of

ISidebarService.options


visible

Get Signature

get visible(): boolean

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

Returns

boolean

Implementation of

ISidebarService.visible

Methods

close()

close(id?): void

Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:54

Parameters

ParameterType
id?string

Returns

void

Implementation of

ISidebarService.close


getContainer()

getContainer(): undefined | HTMLElement

Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:66

Returns

undefined | HTMLElement

Implementation of

ISidebarService.getContainer


open()

open(params): IDisposable

Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:40

Parameters

ParameterType
paramsISidebarMethodOptions

Returns

IDisposable

Implementation of

ISidebarService.open


setContainer()

setContainer(element): void

Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:70

Parameters

ParameterType
elementHTMLElement

Returns

void

Implementation of

ISidebarService.setContainer