When data binding, any valid widget option can be set declaratively using Knockout. If an option is not bound to the ViewModel, then it simply gets passed through during initialization of the widget. The data-binding options listed in the following topics support two-way live binding and will automatically respond to changes in data.
For a full list of options for each widget, see the API sections linked in the following table:
If you want to create view-model binding, you can use the options included in the knockout.wijmo.js library. Set the widget option in the HTML markup. For an example, see the Knockout Pie Chart topic.
Widgets with Data-Binding Options
The following topics list the options in the knockout.wijmo.js library for each widget and include example markup for at least one of the options.
NOTE: You can set any valid widget option declaratively using Knockout. If an option is not bound to the ViewModel then it gets passed through during initialization of the widget. The options listed for each widget below are different in that they support two-way live data binding and automatically respond to changes in data.
See Also