Skip to main content

blockly > ShortcutRegistry > KeyboardShortcut > displayText

ShortcutRegistry.KeyboardShortcut.displayText property

Display text for the shortcut. This is not used in core but may be used by plugins or applications to provide a user-facing label for the shortcut.

Signature:

displayText?: string | (() => string);