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

@univerjs/sheets-ui v0.4.2Docs


Variable: SetScrollRelativeCommand

const SetScrollRelativeCommand: ICommand<ISetScrollRelativeCommandParams>;

This command is used to manage the scroll by relative offset Usually triggered by wheel event. NOT same as ScrollCommand, which is usually triggered by scrollbar.

Defined in

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


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