@univerjs/sheets-ui v0.5.4


Interface: IViewportScrollState

Defined in: submodules/univer/packages/sheets-ui/src/services/scroll-manager.service.ts:50

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
offsetXnumberoffsetX from startRow, coordinate same as viewport, not scrollbarIScrollState.offsetXsubmodules/univer/packages/sheets-ui/src/services/scroll-manager.service.ts:27
offsetYnumberoffsetY from startColumn, coordinate same as viewport, not scrollbarIScrollState.offsetYsubmodules/univer/packages/sheets-ui/src/services/scroll-manager.service.ts:31
scrollXnumberscroll value in scrollbar-submodules/univer/packages/sheets-ui/src/services/scroll-manager.service.ts:52
scrollYnumberscroll value in scrollbar-submodules/univer/packages/sheets-ui/src/services/scroll-manager.service.ts:54
sheetViewStartColumnnumberCurrent start column in viewportMain in canvas, NOT the first column of visible area of current viewport after freeze. e.g. If no freeze, it’s the same as startColumn in current viewport. If freeze, this value is smaller than the first column of visible area. Just pretend that viewMainLeft does not exist. e.g. If column A ~ C is frozen, the first column of viewMain is D, but sheetViewStartColumn still 0.IScrollState.sheetViewStartColumnsubmodules/univer/packages/sheets-ui/src/services/scroll-manager.service.ts:47
sheetViewStartRownumberCurrent start row in viewportMain in canvas, NOT the first row of visible area of current viewport after freeze. e.g. If no freeze, it’s the same as startRow in current viewport. If freeze, this value is smaller than the first row of visible area. Just pretend that viewMainTop does not exist. e.g. If row 1 ~ 2 is frozen, the first row if viewMain is 3, but sheetViewStartRow still 0.IScrollState.sheetViewStartRowsubmodules/univer/packages/sheets-ui/src/services/scroll-manager.service.ts:39
viewportScrollXnumberscroll value on viewport-submodules/univer/packages/sheets-ui/src/services/scroll-manager.service.ts:56
viewportScrollYnumberscroll value on viewport-submodules/univer/packages/sheets-ui/src/services/scroll-manager.service.ts:58