@univerjs/ui v0.4.2 • Docs
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
Parameter | Type |
---|---|
injector | Injector |
componentManager | ComponentManager |
shortcutService | IShortcutService |
_menuManagerService | IMenuManagerService |
commandService | ICommandService |
Returns
Overrides
Defined in
packages/ui/src/controllers/shortcut-display/shortcut-panel.controller.ts:40 (opens in a new tab)
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) |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
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)