@univerjs/engine-render v0.5.0-beta.1Docs


Function: getCurrentScrollXY()

function getCurrentScrollXY(scrollTimer): {
  scrollX: number;
  scrollY: number;
}

Parameters

ParameterType
scrollTimerScrollTimer

Returns

{
  scrollX: number;
  scrollY: number;
}
NameTypeDefined in
scrollXnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/scroll-xy.ts:27
scrollYnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/scroll-xy.ts:28

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/scroll-xy.ts:20