Class: DesktopSidebarService
Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:24
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
Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:36
Returns
Implementation of
visible
Get Signature
get visible(): boolean
Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:32
Returns
boolean
Implementation of
Methods
close()
close(id?): void
Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:54
Parameters
Parameter | Type |
---|---|
id ? | string |
Returns
void
Implementation of
getContainer()
getContainer(): undefined | HTMLElement
Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:66
Returns
undefined
| HTMLElement
Implementation of
open()
open(params): IDisposable
Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:40
Parameters
Parameter | Type |
---|---|
params | ISidebarMethodOptions |
Returns
Implementation of
setContainer()
setContainer(element): void
Defined in: submodules/univer/packages/ui/src/services/sidebar/desktop-sidebar.service.ts:70
Parameters
Parameter | Type |
---|---|
element | HTMLElement |
Returns
void