Skip to content

Interface: ScrollToOptions

En

Options for scrolling to a target element.

Zh

滚动到目标元素的选项。

Properties

smooth

smooth: boolean

En

Whether to scroll smoothly.

Zh

平滑滚动

Defined in

packages/valaxy/client/utils/router.ts:18


targetPadding

targetPadding: number

滚动目标的 padding

Defined in

packages/valaxy/client/utils/router.ts:22