The name/path of the shortcut action.
A modifier key to bind the action to by default.
A key code to bind the action to by default.
Optionalflags: EnumValue<ShortcutBindingFlag, number>A set of optional flags to be given to the default key binding.
Optionalpriority: numberAn optional priority value for the new action.
Optionalplatform: EnumValue<ShortcutPlatformID, number>The platform for which this shortcut is enabled.
An attribute that can be added to a boolean property to toggle a mode via a shortcut. The property can be toggled in two ways: Holding the shortcut will set the property to true until it is released. Pressing the shortcut without holding it will toggle the value.