@univerjsuiindexclassesDesktopsidebarservice

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


Class: DesktopSidebarService

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
Returns

ISidebarMethodOptions

Implementation of

ISidebarService.options

Defined in

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


visible

Get Signature

get visible(): boolean
Returns

boolean

Implementation of

ISidebarService.visible

Defined in

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

Methods

close()

close(id?): void

Parameters

ParameterType
id?string

Returns

void

Implementation of

ISidebarService.close

Defined in

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


getContainer()

getContainer(): undefined | HTMLElement

Returns

undefined | HTMLElement

Implementation of

ISidebarService.getContainer

Defined in

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


open()

open(params): IDisposable

Parameters

ParameterType
paramsISidebarMethodOptions

Returns

IDisposable

Implementation of

ISidebarService.open

Defined in

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


setContainer()

setContainer(element): void

Parameters

ParameterType
elementHTMLElement

Returns

void

Implementation of

ISidebarService.setContainer

Defined in

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