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

What is Framer? Join the Community
Return to index
Danny White
Posted Nov 10 - Read on Facebook

What am I missing here? I'd like to have the Framer.Defaults.Animation change depending on which page is active. Thanks in advance

8 Comments

Danny White

I'm guessing it's got something to do with me declaring the new animation, but not "triggering" it

Jordan Robert Dobson

Do you really want to do it globally like that!!?

Danny White

I could also do `layerA.states.animationOptions = slow`, but same problem

Jordan Robert Dobson

So. This will fire after the event.

Jordan Robert Dobson

I also think you might want currentPage() ?

Jordan Robert Dobson

Print page.currentPage()

Just to sanity check this.

Danny White

yep, print.currentPage works just fine (removed it for clarity in the screenshot)

Danny White

spoke too soon, if I write `layerA.states.animationOptions = slow`, it does work. Is there a way to trigger a change in `Framer.Defaults.Animation` though?

Read the entire post on Facebook