blockly > Trashcan > getClientRect
Trashcan.getClientRect() method
Returns the bounding rectangle of the drag target area in pixel units relative to viewport.
Signature:
getClientRect(): Rect | null;
Returns:
Rect | null
The component's bounding box. Null if drag target area should be ignored.