Debian Codegraph @

externs/w3c_event3.js

raw symbols SCIP
1 /*
2 * Copyright 2010 Closure Compiler Authors
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 /**
18 * @fileoverview Definitions for W3C's event Level 3 specification.
19 * This file depends on w3c_event.js.
20 * The whole file has been partially type annotated.
21 * Created from
22 * http://www.w3.org/TR/DOM-Level-3-Events/#ecma-script-binding-ecma-binding
23 *
24 * @externs
25 */
26
27 /**
28 * @param {string} typeArg
29 * @param {boolean} canBubbleArg
30 * @param {boolean} cancelableArg
31 * @param {Window} viewArg
32 * @param {string} keyIdentifierArg
33 * @param {number} keyLocationArg
34 * @param {string} modifiersList
35 */
36 KeyboardEvent.prototype.initKeyboardEvent = function(typeArg, canBubbleArg, cancelableArg, viewArg, keyIdentifierArg, keyLocationArg, modifiersList) {};
37
38 /** @type {string} */
39 KeyboardEvent.prototype['char'];
40
41 /** @type {string} */
42 KeyboardEvent.prototype.key;
43
44 /** @type {number} */
45 KeyboardEvent.prototype.location;
46
47 /** @type {boolean} */
48 KeyboardEvent.prototype.repeat;
49
50 /** @type {string} */
51 KeyboardEvent.prototype.locale;
52
53 /** @type {boolean} */
54 Event.prototype.defaultPrevented;
55
56 /** @type {string} */
57 Event.prototype.namespaceURI;
58
59 /** @return {undefined} */
60 Event.prototype.stopImmediatePropagation = function() {};