@univerjs/docs-ui v0.4.2 • 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 | packages/docs-ui/src/services/selection/selection-utils.ts:267 (opens in a new tab) |
top | number | 0 | packages/docs-ui/src/services/selection/selection-utils.ts:268 (opens in a new tab) |
Defined in
packages/docs-ui/src/services/selection/selection-utils.ts:262 (opens in a new tab)