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

What is Framer? Join the Community
Return to index
Stefan Hvlmnns
Posted Jun 26 - Read on Facebook

A Module to make Layers easily accessable

Lets say you have a Thumbnail group with an Image and Title group inside
In your App.coffee you would do this to select the Image and Title layer

Layers = require "Layers"
Layers.render(yourImportLayers)

image = Layers.$Thumbnail.$Image
image = Layers.$Thumbnail.$Title

makes stuff a little bit easier :)

Altho Framer JS why didnt you implement a shortcut to doubleclicking on layernames?

like doubleclick results in "Image = yourImportLayers.sublayers.Image"

cheers Stefan

1 Comments

Stefan Hvlmnns

(app = require 'Layers').render(Framer.Importer.load "imported/modaltest") here is a oneliner if anybody is interested

Read the entire post on Facebook