Element.scroll()
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年1月.
scroll()
方法是用于在给定的元素中滚动到某个特定坐标的 Element
接口。