usePageScroll

控制与监听页面滚动。

控制与监听页面滚动。

import { usePageScroll } from '@uni-helper/uni-use'

const { scrollTop } = usePageScroll({
  onPageScroll: true,
})