KnockoutJS’s Built-in Bindings | John Papa

John Papa

Evangelist on the loose

KnockoutJS’s Built-in Bindings

Bindings are the glue between the data values in the source (JavaScript objects) and the presentation in the target (the DOM). I continue to explore the KnockoutJS JavaScript library by examining Knockout’s various built in bindings in this month’s Client Insight column in MSDN Magazine, that just hit the shelves.

<div data-bind="built-in-binding:vm-property1,
      another-built-in-binding:vm-property2"></div>

If you are not familiar with Knockout, you may want to first read the overview article on Knockout in last months’ Client Insight column here first.

image

Knockout is ideal for building single page web apps (SPA’s) and works great with the MVVM pattern with JavaScript and HTML. If you are interested in learning Knockout from end to end, you can check out my Pluralsight course Building HTML5 and JavaScript Apps with MVVM and Knockout, which contains over 40 examples you can download with your Pluralsight subscription.

And if you like it, please be sure to  share it.

image

tags: javas knockoutjs

Leave a Reply


(required)


(required)




nine − = 4

%d bloggers like this: