@univerjs/engine-render v0.4.2 • Docs
Function: getSizeForDom()
function getSizeForDom(dom): {
bottom: number;
height: number;
left: number;
right: number;
top: number;
width: number;
}
Parameters
Parameter | Type |
---|---|
dom | HTMLElement |
Returns
{
bottom: number;
height: number;
left: number;
right: number;
top: number;
width: number;
}
Defined in
submodules/univer/packages/engine-render/src/basics/tools.ts:756 (opens in a new tab)