@univerjsuiindexclassesShortcutpanelcontroller

@univerjs/ui v0.5.4


Class: ShortcutPanelController

Defined in: submodules/univer/packages/ui/src/controllers/shortcut-display/shortcut-panel.controller.ts:39

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

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

Parameters

ParameterType
injectorInjector
componentManagerComponentManager
shortcutServiceIShortcutService
_menuManagerServiceIMenuManagerService
commandServiceICommandService

Returns

ShortcutPanelController

Overrides

Disposable.constructor

Properties

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

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed