@univerjs/ui v0.4.2 • Docs
Class: DesktopSidebarService
Implements
Constructors
new DesktopSidebarService()
new DesktopSidebarService(): DesktopSidebarService
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
scrollEvent$ | readonly | Subject <Event > | packages/ui/src/services/sidebar/desktop-sidebar.service.ts:28 (opens in a new tab) |
sidebarOptions$ | readonly | Subject <ISidebarMethodOptions > | packages/ui/src/services/sidebar/desktop-sidebar.service.ts:26 (opens in a new tab) |
Accessors
options
get options(): ISidebarMethodOptions
Returns
Implementation of
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
Defined in
packages/ui/src/services/sidebar/desktop-sidebar.service.ts:30 (opens in a new tab)
Methods
close()
close(id?): void
Parameters
Parameter | Type |
---|---|
id ? | string |
Returns
void
Implementation of
Defined in
packages/ui/src/services/sidebar/desktop-sidebar.service.ts:52 (opens in a new tab)
open()
open(params): IDisposable
Parameters
Parameter | Type |
---|---|
params | ISidebarMethodOptions |
Returns
Implementation of
Defined in
packages/ui/src/services/sidebar/desktop-sidebar.service.ts:38 (opens in a new tab)