modifiers

modifiers
Type: space-separated list of the values below
A list of modifier keys that should be pressed to invoke the keyboard shortcut. Multiple keys may be separated by spaces or commas. Keys will map to other keys on platforms that do not have them.
  • shift: The Shift key.
  • alt: The Alt key. On the Macintosh, this is the Option key. On Macintosh this can only be used in conjunction with another modifier, since Alt+Letter combinations are reserved for entering special characters in text.
  • meta: The Meta key. On the Macintosh, this is the Command key.
  • control: The Control key.
  • os: Windows logo key on Windows, Super or Hyper key on Linux. This shouldn't be specified directly because it may conflict with system wide shortcut key.
  • accel: The key used for keyboard shortcuts on the user's platform, which is Control on Windows and Linux, and Command on Mac. Usually, this would be the value you would use.
  • access: The access key for activating menus and other elements. On Windows, this is the Alt key, used in conjuction with an element's accesskey.
  • any: Indicates that all modifiers preceding it are optional.

 

Document Tags and Contributors

Contributors to this page: Sheppy, Enn, Nullbit, Marsf, Masayuki, Steffen, Mgjbot, Dria
Last updated by: Sheppy,