@univerjs/sheets-ui v0.5.0-beta.1Docs


Variable: ScrollCommand

const ScrollCommand: ICommand<IScrollCommandParams>;

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 srcollbar and click scrolltrack or moving selection range. NOT same as SetScrollRelativeCommand which usually trigger by wheelevent.

Defined in

submodules/univer/packages/sheets-ui/src/commands/commands/set-scroll.command.ts:86