API Reference
@univerjs
@univerjs/sheets-ui
variables
Scrollcommand

@univerjs/sheets-ui v0.4.2Docs


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

packages/sheets-ui/src/commands/commands/set-scroll.command.ts:86 (opens in a new tab)


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