API Reference
@univerjs
@univerjs/ui
classes
Desktopsidebarservice

@univerjs/ui v0.4.2Docs


Class: DesktopSidebarService

Implements

Constructors

new DesktopSidebarService()

new DesktopSidebarService(): DesktopSidebarService

Returns

DesktopSidebarService

Properties

PropertyModifierTypeDefined in
scrollEvent$readonlySubject<Event>packages/ui/src/services/sidebar/desktop-sidebar.service.ts:28 (opens in a new tab)
sidebarOptions$readonlySubject<ISidebarMethodOptions>packages/ui/src/services/sidebar/desktop-sidebar.service.ts:26 (opens in a new tab)

Accessors

options

get options(): ISidebarMethodOptions

Returns

ISidebarMethodOptions

Implementation of

ISidebarService.options

Defined in

packages/ui/src/services/sidebar/desktop-sidebar.service.ts:34 (opens in a new tab)


visible

get visible(): boolean

Returns

boolean

Implementation of

ISidebarService.visible

Defined in

packages/ui/src/services/sidebar/desktop-sidebar.service.ts:30 (opens in a new tab)

Methods

close()

close(id?): void

Parameters

ParameterType
id?string

Returns

void

Implementation of

ISidebarService.close

Defined in

packages/ui/src/services/sidebar/desktop-sidebar.service.ts:52 (opens in a new tab)


open()

open(params): IDisposable

Parameters

ParameterType
paramsISidebarMethodOptions

Returns

IDisposable

Implementation of

ISidebarService.open

Defined in

packages/ui/src/services/sidebar/desktop-sidebar.service.ts:38 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.