@univerjs/engine-render v0.4.2 • Docs
Function: getOffsetRectForDom()
function getOffsetRectForDom(ele): {
left: number;
top: number;
}
Parameters
Parameter | Type |
---|---|
ele | HTMLElement |
Returns
{
left: number;
top: number;
}
Defined in
submodules/univer/packages/engine-render/src/basics/position.ts:20 (opens in a new tab)