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

What is Framer? Join the Community
Return to index
Deji Oso
Posted Feb 12 - Read on Facebook

Quick question. I can access any view the document by using PSD['ViewName'] Is there a way to access subViews by name instead of by array index? Thanks.

2 Comments

Koen Bok

Not without some code. You'll have to loop through the .subViews() and then find them in the PSD object like this: http://stackoverflow.com/questions/9907419/javascript-object-get-key-by-value

Deji Oso

Thanks! Framer is awesome btw. Really enjoying it so far.

Read the entire post on Facebook