LOGOVALAXY
  • Config
  • API
  • client

      • AddonCatalogEntry

      • BaseCategory

      • CategoryList

      • CollectionConfig

      • GetHeadersOptions

      • Header

      • LocalizedAddonText

      • LocalizedValaxyAddon

      • LocalSearchResult

      • PostCollectionInfo

      • ScrollToOptions

      • SvgToPngOptions

      • ValaxySSGContext

  • node

  • types

Interface: ScrollToOptions ​

Source: 1.1.0 · e3417e89b638

Defined in: packages/valaxy/client/utils/router.ts:10

En ​

Options for scrolling to a target element.

Zh ​

滚动到目标元素的选项。

Properties ​

smooth ​

ts
smooth: boolean;

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

En ​

Whether to scroll smoothly.

Zh ​

平滑滚动


targetPadding ​

ts
targetPadding: number;

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

滚动目标的 padding

Previous pagePostCollectionInfo
Next pageSvgToPngOptions
On this page

Released under the MIT License. (e3417e89)

Copyright © 2022-present YunYouJun & Valaxy Contributors