Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 655 Bytes

shortcut.md

File metadata and controls

18 lines (12 loc) · 655 Bytes

Interface: Shortcut extends ShortcutOptions

Shortcut data as stored internally and exposed in the anti-filter callback parameter of Shocut.remove

It is simplified ShortcutOptions:

  • string values are simplified to an array of 1 if the option accepts an array
  • Unset booleans are simplified to false
  • Unset / false arrays are simplified to an empty array []
  • key is always uppercase if it is a single character
  • Modifier names in mod are always lowercase

mod string[]

context (string | string[])[] | function

noDefaultPrevent boolean

noPropagationStop boolean