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

What is Framer? Join the Community
Return to index
Josh Goodell
Posted Jun 04 - Read on Facebook

Got a question. I'm on the Framer trial and experimenting with the onboarding project. In the screenshot, is there a way in Code to write the functionality of the back button only once? Instead of having to target 'back' and 'back_1'? The layers in Design are named the same but I can't change it in Code. Seems like there should be a way to identify re-used elements and have them behave the same across artboards.

2 Comments

Vlad Mafteiu Scai

You could write a function that accepts as input the icon then change the pages where it should be displayed and parented to, if it’s visible or not, and the transition it should do.

Andreas Wahlström

This module helps you target all the layers that share the same name: https://github.com/awt2542/Find-for-Framer

Read the entire post on Facebook