简体中文
Appearance
获取元素或窗口的水平滚动位置。
import { getScrollLeft } from 'rattail' const scrollLeft = getScrollLeft(window)
element
Element | Window
number