Skip to content

Commit 32eb58a

Browse files
committed
Add missing drag event handlers to HTMLElement
1 parent 1a031d3 commit 32eb58a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

externs/browser/html5.js

+15
Original file line numberDiff line numberDiff line change
@@ -1991,6 +1991,21 @@ HTMLElement.prototype.formResetCallback;
19911991
*/
19921992
HTMLElement.prototype.formStateRestoreCallback = function(state, reason) {};
19931993

1994+
/** @type {?function(!DragEvent)} */
1995+
HTMLElement.prototype.ondrag;
1996+
/** @type {?function(!DragEvent)} */
1997+
HTMLElement.prototype.ondragend;
1998+
/** @type {?function(!DragEvent)} */
1999+
HTMLElement.prototype.ondragenter;
2000+
/** @type {?function(!DragEvent)} */
2001+
HTMLElement.prototype.ondragleave;
2002+
/** @type {?function(!DragEvent)} */
2003+
HTMLElement.prototype.ondragover;
2004+
/** @type {?function(!DragEvent)} */
2005+
HTMLElement.prototype.ondragstart;
2006+
/** @type {?function(!DragEvent)} */
2007+
HTMLElement.prototype.ondrop;
2008+
19942009
/**
19952010
* @see https://dom.spec.whatwg.org/#dictdef-getrootnodeoptions
19962011
* @typedef {{

0 commit comments

Comments
 (0)