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

What is Framer? Join the Community
Return to index
Chong Lee Khoo
Posted Mar 29 - Read on Facebook

Hi good people,

During .scrollToPoint or .animate, how can I call one of my functions?

You see, I have an update function that I am currently calling during manual .onMove and .onScroll that I'd like to also call during .scrollToPoint or .animate so that stuff gets updated correctly.

Thank you in advance.

2 Comments

George Kedenburg III

check out the "change" events in the docs, they will fire regardless of what is causing the change
http://framerjs.com/docs/#events.change

Chong Lee Khoo

Just what I needed, thank you profusely.

Read the entire post on Facebook