API > @blocksuite/blocks > getDropRectByPoint
Function: getDropRectByPoint ​
getDropRectByPoint(
point
,model
,element
):object
Gets the drop rect by block and point.
Parameters ​
Parameter | Type |
---|---|
point | Point |
model | BaseBlockModel < object > |
element | Element |
Returns ​
flag
​
flag:
DropFlags
rect
​
rect:
DOMRect
Defined In ​
packages/blocks/src/_common/utils/query.ts:753