@univerjs/engine-render v0.5.4
Function: getOffsetRectForDom()
function getOffsetRectForDom(ele): {
left: number;
top: number;
}
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/position.ts:20
Parameters
Parameter | Type |
---|---|
ele | HTMLElement |
Returns
{
left: number;
top: number;
}