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

What is Framer? Join the Community
Return to index
Tom Ellwood
Posted Jan 12 - Read on Facebook

Hey - As it's possible to get the flow.current after flow.onTransitionEnd, is it possible to get something like "flow.next" on flow.onTransitionStart? I feel like this would be more useful for hiding and showing header/footer based on what page you're on.

Unless there is an easier alternative?

1 Comments

Ian McClure

When you call show next, you have to pass it a layer. You would be able to check whether you need to show/hide your header then.

if Layer is triggerLayer
flow.showNext(Layer)
flow.header.animate
opacity: 0
else
flow.showNext(Layer)

Read the entire post on Facebook