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

What is Framer? Join the Community
Return to index
John Lee
Posted Apr 18 - Read on Facebook

Hey my Frameroos!
I know I post WAaaay too many questions, with only about a 50% response rate... but I'm feeling lucky today! So here goes -

I have a pageScroller and want to pass along the attributes from the page.onClick -> event to another layer (or just enlarge to fill full screen) then return to it's original size after closing out. Is there an easy way to do this? In my example, I'm referencing all the props I want with an Array.
See images for hints, my friends!

Some code which doesn't work:
changeLayerStates = (target, layerProps) ->
__for prop, i in layerProps
____for currentProps, a in target.props


Benjamin Den Boer

Heya John Lee! Here's a very basic example of how you could set this up: — hope it helps! :-)

John Lee

Hey Sam Olaogun, Any clues on how to pass changed props of a layer in a loop to another outside the loop?

Read the entire post on Facebook