We are using Modules for certain fixed UI-components. How can we target layers that are generated by the module in the rest of the prototype?
For example: we can see the name in the layerlist, but we can't interact with it in the code.
You can have the module return the object you're creating so you can then access it in the code:
myNavigation = navigation.createNavigation(...)
exports.createNavigation(...) wrapper = new Layer <etc etc>
Hey Kim Does, thanks! We don't seem to be able to target the wrapper in the prototype. How do you do that? For instance change the Y for the wrapper?
I've made a quick example which shows how I usually do it. You should be able to access attributes.
Kim, this is great stuff! Thanks a lot!