Framer » Framer Motion » Scroll-based Animations BETA

Scroll-based Animations BETA

useViewportScroll() Matt: “useViewportScroll won’t work in Framer as it tracks the window, whereas scrolling in Framer uses Scroll” Om positie te weten wanneer je aan het scrollen bent: const { scrollY } = useViewportScroll(); scrollY.onChange(() => console.log(scrollY.get())); The same hook returns four different MotionValues. You use the one that’s more convenient to what you’re trying to […]
To access this page, you must purchase Framer book - Monthly or Framer book - Yearly.