Scroll the viewport by the given pixel delta.
Fires a native wheel event with isTrusted: true at the viewport center. Positive dy scrolls down (content up), matching window.scrollBy semantics.
Search the reference...
/
method
Scroll the viewport by the given pixel delta.
Fires a native wheel event with isTrusted: true at the viewport center. Positive dy scrolls down (content up), matching window.scrollBy semantics.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →