mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Core: Added COMMAND/COMMAND_LEFT/WINDOWS, COMMAND_RIGHT/MENU key codes.
Fixes #5542 - Add keyCodes for command buttons.
This commit is contained in:
parent
e087e7dee0
commit
3570c1f768
7
ui/jquery.ui.core.js
vendored
7
ui/jquery.ui.core.js
vendored
@ -74,6 +74,9 @@ $.ui = {
|
|||||||
BACKSPACE: 8,
|
BACKSPACE: 8,
|
||||||
CAPS_LOCK: 20,
|
CAPS_LOCK: 20,
|
||||||
COMMA: 188,
|
COMMA: 188,
|
||||||
|
COMMAND: 91,
|
||||||
|
COMMAND_LEFT: 91, // COMMAND
|
||||||
|
COMMAND_RIGHT: 93,
|
||||||
CONTROL: 17,
|
CONTROL: 17,
|
||||||
DELETE: 46,
|
DELETE: 46,
|
||||||
DOWN: 40,
|
DOWN: 40,
|
||||||
@ -83,6 +86,7 @@ $.ui = {
|
|||||||
HOME: 36,
|
HOME: 36,
|
||||||
INSERT: 45,
|
INSERT: 45,
|
||||||
LEFT: 37,
|
LEFT: 37,
|
||||||
|
MENU: 93, // COMMAND_RIGHT
|
||||||
NUMPAD_ADD: 107,
|
NUMPAD_ADD: 107,
|
||||||
NUMPAD_DECIMAL: 110,
|
NUMPAD_DECIMAL: 110,
|
||||||
NUMPAD_DIVIDE: 111,
|
NUMPAD_DIVIDE: 111,
|
||||||
@ -96,7 +100,8 @@ $.ui = {
|
|||||||
SHIFT: 16,
|
SHIFT: 16,
|
||||||
SPACE: 32,
|
SPACE: 32,
|
||||||
TAB: 9,
|
TAB: 9,
|
||||||
UP: 38
|
UP: 38,
|
||||||
|
WINDOWS: 91 // COMMAND
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user