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

What is Framer? Join the Community
Return to index
Sigurd Tapio Mannsåker
Posted Dec 02 - Read on Facebook

Trevor Coleman and Andreas Wahlström, I see your multiple lines of code to hook up your FlowComponent links, and raise you one single line of code to hook up all your FlowComponent links!

It's a longer line than what's really practical, but three lines doesn't sound as impressive :)

2 Comments

Sigurd Tapio Mannsåker

The basic idea is just that you name your Sketch layers "flow-someLayerYouWantToTransitionTo". In real life I'll probably end up adding another couple of lines to automatically hook up "flow-back", "flow-header", and even optionally add the transition method as a string ala "flow-showOverlayTop-someLayer" but you get the idea.

Andreas Wahlström

Haha you beat me to it. This is how the https://github.com/awt2542/ViewController-for-Framer works. The Sketch plugin just renames layers according to specified format.

Read the entire post on Facebook