Sign in with:
A subscription is required to view this video.
Thanks, nice screencast.
Nice overview there, thank you very much.
You could/should change the s to s with the 'for' attribute within your list markup. That's what labels are meant to be for. (Setting cursor:pointer to them via CSS would make even more userfriendly sugar.)
Nice intro to knockout. Thanks.
Question: going back to the demo code from part 1, how would you add a separate independent counter?
For example, I'm extrapolating on your code to try to instantiate two counters and then bind them.
var counter_1 = new Counter();
var counter_2 = new counter();
But I don't understand how to create a second set of markup and how the applyBindings will differentiate between the two counters. Surly I don't need a different version of Counter for each instance.
Thanks for a great learning experience.
dam dont let me paste it :(
I have problems w this code, loosk liek dont updates what ahve to update ...
Show the list of all posts in /posts.json titulo
@robbieclarken, glad you liked it. I hope you enjoy using Knockout.
Great screencasts - inspired me to give Knockout a go.