API Reference
@univerjs
@univerjs/engine-render
functions
Getcurrentscrollxy

@univerjs/engine-render v0.4.2Docs


Function: getCurrentScrollXY()

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

Parameters

ParameterType
scrollTimerany

Returns

{
  scrollX: number;
  scrollY: number;
}
NameTypeDefined in
scrollXnumbersubmodules/univer/packages/engine-render/src/basics/scroll-xy.ts:26 (opens in a new tab)
scrollYnumbersubmodules/univer/packages/engine-render/src/basics/scroll-xy.ts:27 (opens in a new tab)

Defined in

submodules/univer/packages/engine-render/src/basics/scroll-xy.ts:19 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.