@univerjs/ui v0.5.0-beta.1 • Docs
Class: DesktopSidebarService
Implements
Constructors
new DesktopSidebarService()
new DesktopSidebarService(): DesktopSidebarService
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
scrollEvent$ | readonly | Subject <Event > | submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:28 |
sidebarOptions$ | readonly | Subject <ISidebarMethodOptions > | submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:26 |
Accessors
options
Get Signature
get options(): ISidebarMethodOptions
Returns
Implementation of
Defined in
submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:36
visible
Get Signature
get visible(): boolean
Returns
boolean
Implementation of
Defined in
submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:32
Methods
close()
close(id?): void
Parameters
Parameter | Type |
---|---|
id ? | string |
Returns
void
Implementation of
Defined in
submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:54
getContainer()
getContainer(): undefined | HTMLElement
Returns
undefined
| HTMLElement
Implementation of
Defined in
submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:66
open()
open(params): IDisposable
Parameters
Parameter | Type |
---|---|
params | ISidebarMethodOptions |
Returns
Implementation of
Defined in
submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:40
setContainer()
setContainer(element): void
Parameters
Parameter | Type |
---|---|
element | HTMLElement |
Returns
void
Implementation of
Defined in
submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:70