@univerjs/docs-ui v0.5.0-beta.1 • Docs
Function: getCanvasOffsetByEngine()
function getCanvasOffsetByEngine(engine): {
left: 0;
top: 0;
}
Parameters
Parameter | Type |
---|---|
engine | Nullable <Engine > |
Returns
{
left: 0;
top: 0;
}
Name | Type | Default value | Defined in |
---|---|---|---|
left | number | 0 | submodules/univer/packages/docs-ui/src/services/selection/selection-utils.ts:268 |
top | number | 0 | submodules/univer/packages/docs-ui/src/services/selection/selection-utils.ts:269 |
Defined in
submodules/univer/packages/docs-ui/src/services/selection/selection-utils.ts:263