@univerjs/sheets-ui v0.5.4


Variable: ScrollCommand

const ScrollCommand: ICommand<IScrollCommandParams>;

Defined in: submodules/univer/packages/sheets-ui/src/commands/commands/set-scroll.command.ts:101

This command is used to manage the scroll position of the current view by specifying the cell index of the top left cell Usually triggered by dragging scroll bar and click scroll track or moving selection range. NOT same as SetScrollRelativeCommand which usually trigger by wheelevent.