API Reference
@univerjs
@univerjs/ui
classes
Shortcutpanelservice

@univerjs/ui v0.4.2Docs


Class: ShortcutPanelService

Extends

Constructors

new ShortcutPanelService()

new ShortcutPanelService(): ShortcutPanelService

Returns

ShortcutPanelService

Inherited from

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
open$publicObservable<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

Disposable.dispose

Defined in

packages/ui/src/services/shortcut/shortcut-panel.service.ts:27 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

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)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.