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