Aloha, Framer community! I wrote an article about making your prototypes more manageable and diverse, using Classes, Loops and Arrays!
This is great!
Awesome work and incredibly useful!
This is great! Imho it would have made sense to start with loops and arrays because they seem like a more fundamental thing to me and classes are a tiny bit more advanced - just as an idea :)
Well done! I've been using objects opposed to arrays so that the values can be grouped together. Any thoughts?
Brad Ryan Arrays are usually faster and can be sorted/iterated on more easily, but Objects can hold more complex information in that you have key/value pairs. It depends on what you're doing with the data really. It's also more complicated to copy an object, you have to do what's called a 'deep copy' of the nested elements.
Super cool article, Øyvind Nordbø. Thanks a bunch for sharing. :-)
This was ridiculously useful! fantastic job of explaining things clearly and easily for those with beginner to intermediate skills. Would LOVE to see more articles
Super helpful, in terms of the article and the thorough comments in your code!
Really like the power described here to simplify many things.
Question: I think I watched a video tutorial and it told me once about 'print consollog' ... which prints the hidden the properties of a layer to the consol log?? Is that how you find all the attributes behind the main classes that have already been written?