Thank you much Drew! Specifically, this set of KO videos helped achieve a eureka moment on reactivity and single-page application. Let the fun begin. Hoping to see more stuff come out about KO and/or similar frameworks like Svelte, Vue, or React. I did find Knockout to be piece of cake to pick up. Will keep an eye on the channel :)
Hey, that's a great question. When iterating in a data-bind foreach, knockout will pass the current iteration item as `data` in bound functions so the parent can know which item was interacted with. I don't think we ended up using the actual `data` parameter here... we used the second parameter which is the click event itself.
Thank you much Drew! Specifically, this set of KO videos helped achieve a eureka moment on reactivity and single-page application. Let the fun begin. Hoping to see more stuff come out about KO and/or similar frameworks like Svelte, Vue, or React. I did find Knockout to be piece of cake to pick up. Will keep an eye on the channel :)
Really nice explanation on the core concepts about knockout and using real good examples with it
These knockout videos have been very informative. I've actually taken it a bit further by using requirejs to manage the viewModels.
Couldn't agree more with all comments below. Do appreciate the work you do. Keep having a tail wagging a day)
Thank you. I really like the way you think while coding
Excellent - so much fun, thanks!
Nice explanations
hello
what about this vs self ?
var self = this; // what is line means
I can´t identify what the "data" parameter does in the removeItem function? can you explain?
Hey, that's a great question. When iterating in a data-bind foreach, knockout will pass the current iteration item as `data` in bound functions so the parent can know which item was interacted with.
I don't think we ended up using the actual `data` parameter here... we used the second parameter which is the click event itself.
@@DrewConley Ah ok, so the first one in this Case was Like a placeholder so you can give the function the Event as the Seconds Argument ?
@@DaveTheDeveloper Yep, exactly.
@@DrewConley ah okay thx for the answer :). I was so confused and got kinda angry ´cause I wanted to know what this thing does ^^
how can i find the pen? i want to use the styles for the icons
assets.codepen.io/21542/Toys.png
codepen.io/punkydrewster713/pen/VweMLKO
Thank you
Nice content
Great explanation, editor is irritating though :p.