This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Hidde van der Ploeg
Posted Nov 23 - Read on Facebook

What is the cubic-bezier of the effect used when you have a .snapToPreviousPage() with .animate?


Benjamin Den Boer

The default snapping values are curve:"spring(500,50,0)", but you can customize these as well. :-)

For example, you could use the snapToPage method, which snapToPreviousPage also uses internally, with the 3rd argument being the animationOptions →

snapToPage: (page, animate=true, animationOptions=null)

Read the entire post on Facebook