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

What is Framer? Join the Community
Return to index
Nick Inzucchi
Posted Sep 11 - Read on Facebook

Hey all! Does anyone know the correct syntax for attaching animation options to a FlowComponent? Feeling like a total failure. I've tried...

---

flow = new FlowComponent ({curve: Bezier(0.25, 0.1, 0.25, 1), time: 5})

---

flow = new FlowComponent (options: {curve: Bezier(0.25, 0.1, 0.25, 1), time: 5})

---

flow = new FlowComponent
curve: Bezier(0.25, 0.1, 0.25, 1)
time: 5

---

flow = new FlowComponent
options:
curve: Bezier(0.25, 0.1, 0.25, 1)
time: 5

---

Would greatly appreciate an example to copy + paste here. Even better if we could include one in the docs. Thanks!

👋 Trevor George

2 Comments

Trevor Phillippi

This is off the top of my head but I'm pretty sure you use the options when you actually call the showNext method

Nick Inzucchi

still fail 😭 "flow.showNext(layerB, {time:5})"

Read the entire post on Facebook