@univerjs/ui v0.4.2 • Docs
Interface: ISidebarService
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
scrollEvent$ | readonly | Subject <Event > | packages/ui/src/services/sidebar/sidebar.service.ts:25 (opens in a new tab) |
sidebarOptions$ | readonly | Subject <ISidebarMethodOptions > | packages/ui/src/services/sidebar/sidebar.service.ts:24 (opens in a new tab) |
Accessors
options
get options(): ISidebarMethodOptions
Returns
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
Parameter | Type |
---|---|
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
Parameter | Type |
---|---|
params | ISidebarMethodOptions |
Returns
Defined in
packages/ui/src/services/sidebar/sidebar.service.ts:27 (opens in a new tab)