@univerjs/ui v0.5.0-beta.1 • Docs
Interface: ISidebarService
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
scrollEvent$ | readonly | Subject <Event > | submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:25 |
sidebarOptions$ | readonly | Subject <ISidebarMethodOptions > | submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:24 |
Accessors
options
Get Signature
get options(): ISidebarMethodOptions
Returns
Defined in
submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:32
visible
Get Signature
get visible(): boolean
Returns
boolean
Defined in
submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:30
Methods
close()
close(id?): void
Parameters
Parameter | Type |
---|---|
id ? | string |
Returns
void
Defined in
submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:28
getContainer()
getContainer(): undefined | HTMLElement
Returns
undefined
| HTMLElement
Defined in
submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:34
open()
open(params): IDisposable
Parameters
Parameter | Type |
---|---|
params | ISidebarMethodOptions |
Returns
Defined in
submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:27
setContainer()
setContainer(element?): void
Parameters
Parameter | Type |
---|---|
element ? | HTMLElement |
Returns
void
Defined in
submodules/univer/packages/ui/src/services/sidebar/sidebar.service.ts:35