API Reference
@univerjs
@univerjs/ui
interfaces
Isidebarservice

@univerjs/ui v0.4.2Docs


Interface: ISidebarService

Properties

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

Accessors

options

get options(): ISidebarMethodOptions

Returns

ISidebarMethodOptions

Defined in

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


visible

get visible(): boolean

Returns

boolean

Defined in

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

Methods

close()

close(id?): void

Parameters

ParameterType
id?string

Returns

void

Defined in

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


open()

open(params): IDisposable

Parameters

ParameterType
paramsISidebarMethodOptions

Returns

IDisposable

Defined in

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


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