Login
Thumbnail loopsandevents 6678be3bbd3fd82f37b8f7cea4a7583ddd3b5c17ad2d5abcdb106dffedf57061
Please sign in for access to all the free videos.
Loops and events
A common question that comes up involves javascript and it's sometimes confusing idea of closures. There's a lot to go over under the hood, but in this video I keep it really simple and explain the concept without getting into the nitty gritty of javascript terminology.
1 comments
Picture
Adam Mazurick Mar 01, 2017
I want to assign different animations and behaviours to individual members of an array I create with a loop. I'm building an inbox prototype and I created an array of inbox messages. When one message is tapped I'd like it to perform an event. When another is tapped, I'd like a different event.