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

What is Framer? Join the Community
Return to index
Florian Pnn
Posted Oct 16 - Read on Facebook

Hi all,

I'm trying to create a wrapper around a layer via a function, the function is working but it seems I can't get access to my layer name inside the function. Is there a nice workaround for it?
(I want to avoid to pass the layer name as a parameter)

Example :


Roland Lösslein

layers created in framer and not through importing from sketch or ps don't have a name property set by default. In order to access the name property of your layer that needs to be wrapped, you need to set the name manually upon initialization or right before wrapping it.

Florian Pnn

Thanks for the answer!

Read the entire post on Facebook