@univerjs/ui v0.2.11 • Docs
Class: ShortcutPanelService
Extends
Constructors
new ShortcutPanelService()
new ShortcutPanelService(): ShortcutPanelService
Returns
Inherited from
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
open$ | public | Observable <boolean > | undefined | - | packages/ui/src/services/shortcut/shortcut-panel.service.ts:22 (opens in a new tab) |
Accessors
isOpen
get isOpen(): boolean
Returns
boolean
Defined in
packages/ui/src/services/shortcut/shortcut-panel.service.ts:23 (opens in a new tab)
Methods
close()
close(): void
Returns
void
Defined in
packages/ui/src/services/shortcut/shortcut-panel.service.ts:38 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Overrides
Defined in
packages/ui/src/services/shortcut/shortcut-panel.service.ts:27 (opens in a new tab)
disposeWithMe()
protected disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
open()
open(): void
Returns
void
Defined in
packages/ui/src/services/shortcut/shortcut-panel.service.ts:34 (opens in a new tab)