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

What is Framer? Join the Community
Return to index
Johan Sjöstrand
Posted May 10 - Read on Facebook

Up and running with the new view controller by Andreas Wahlström. Works great! I want to listen and fire an event right after a new view is shown. Is that possible?

5 Comments

Johan Sjöstrand

actually it's after arriving at that view from another specific view that I want to fire an event

Sindu Narasimhan

I think view.currentview should do the trick !

Andreas Wahlström

It currently only fires an event when the animation kicks in. Listen for change on "currentView". I could probably make it similar to states where you have did- and will switch events.

Andreas Wahlström

Johan Sjöstrand Added change:previousView, didSwitch and willSwitch events now: https://github.com/awt2542/ViewController-for-Framer#events Hope it helps!

Johan Sjöstrand

Wow awesome! Thanks Andreas Wahlström!

Read the entire post on Facebook