Debian Codegraph @

ui/keycode.js

raw symbols SCIP
1 /*!
2 * jQuery UI Keycode 1.14.2
3 * https://jqueryui.com
4 *
5 * Copyright OpenJS Foundation and other contributors
6 * Released under the MIT license.
7 * https://jquery.org/license
8 */
9
10 //>>label: Keycode
11 //>>group: Core
12 //>>description: Provide keycodes as keynames
13 //>>docs: https://api.jqueryui.com/jQuery.ui.keyCode/
14
15 ( function( factory ) {
16 "use strict";
17
18 if ( typeof define === "function" && define.amd ) {
19
20 // AMD. Register as an anonymous module.
21 define( [ "jquery", "./version" ], factory );
22 } else {
23
24 // Browser globals
25 factory( jQuery );
26 }
27 } )( function( $ ) {
28 "use strict";
29
30 return $.ui.keyCode = {
31 BACKSPACE: 8,
32 COMMA: 188,
33 DELETE: 46,
34 DOWN: 40,
35 END: 35,
36 ENTER: 13,
37 ESCAPE: 27,
38 HOME: 36,
39 LEFT: 37,
40 PAGE_DOWN: 34,
41 PAGE_UP: 33,
42 PERIOD: 190,
43 RIGHT: 39,
44 SPACE: 32,
45 TAB: 9,
46 UP: 38
47 };
48
49 } );