Welcome Guest. Sign in or Signup

0 Comments

How to bind KO view model to a jQuery UI Widget’s value?

Asked by: 2375 views 2. KnockOut (KO)

0
0

KO View Model entries can be easily bound to DOM elements declaratively. However, to bind to a jQuery Widget there is a little bit more work to do. You will have to setup a custom binding and manually pass values from the view model to the widget and vice-versa when either one changes.

This is nicely described in the “jQuery UI Knockout Example” blog post by Boduch.

Comments on Question