@univerjsuiindexclassesShortcutpanelcontroller

@univerjs/ui v0.5.0-beta.1Docs


Class: ShortcutPanelController

This controller add a side panel to the application to display the shortcuts.

Extends

Constructors

new ShortcutPanelController()

new ShortcutPanelController(
   injector, 
   componentManager, 
   shortcutService, 
   _menuManagerService, 
   commandService): ShortcutPanelController

Parameters

ParameterType
injectorInjector
componentManagerComponentManager
shortcutServiceIShortcutService
_menuManagerServiceIMenuManagerService
commandServiceICommandService

Returns

ShortcutPanelController

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/ui/src/controllers/shortcut-display/shortcut-panel.controller.ts:40

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100