Update JsDoc for IDragTarget (#4907)

This commit is contained in:
Monica Kozbial
2021-06-14 12:19:36 -07:00
committed by GitHub
parent e65a396809
commit 1931c31aa6

View File

@@ -30,7 +30,8 @@ Blockly.IDragTarget = function() {};
/**
* Returns the bounding rectangle of the drag target area in pixel units
* relative to viewport.
* @return {Blockly.utils.Rect} The component's bounding box.
* @return {?Blockly.utils.Rect} The component's bounding box. Null if drag
* target area should be ignored.
*/
Blockly.IDragTarget.prototype.getClientRect;