Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a command for shortcut

Hierarchy

  • ShortcutCommand

Index

Properties

Optional environment

environment: "all" | "mac" | "nonMac"
optional

Required environment for this command all: (Default) This feature is available for all environments mac: This feature is available on MacOS only nonMac: This feature is available on OS other than MacOS

onClick

onClick: (editor: IEditor) => void

Type declaration

    • The callback function to invoke when this shortcut is triggered

      Parameters

      • editor: IEditor

        The editor object

      Returns void

shortcutKey

Definition of the shortcut key

Generated using TypeDoc