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

What is Framer? Join the Community
Return to index
Aleksandar Zezovski
Posted Apr 08 - Read on Facebook

Hi!
How do I treat a Photoshop import as a layer? When I click on "Sveavägen" I'd like it to change screen to "homeView".

http://share.framerjs.com/lgxorf24wutp/

The module that's used is from: https://github.com/chriscamargo/framer-viewNavigationController

5 Comments

Aleksandar Zezovski

Here's the project in Github: https://github.com/Alezzo/Urban-Deli

Stephen Beaton

Hi! It look's like you have the Photoshop import as one group 'Grupp_1'. Framer creates layers automatically based on the groups within Photoshop.

If you make the "Sveavägen" button a group inside photoshop named, for example 'sveaButton' then in framer you could assign an event listener to it using psd.sveaButton.on Events.Click

More info on how to handle groups from Photoshop is here: http://framerjs.com/learn/import/

Stephen Beaton

This means also that the groups created in Photoshop or Sketch ar fully functional layers when imported and do not need to be recreated as a new Layer in the code. Good stuff!

Aleksandar Zezovski

That's really good stuff! Thank you for the help! :D

Chris Camargo

Glad to see the module is coming in handy. 😄

Read the entire post on Facebook