-
Notifications
You must be signed in to change notification settings - Fork 4
Options
Anders Malmgren edited this page Aug 29, 2014
·
2 revisions
Before calling ko.applyBindings call ko.bindingConventions.init to set options
ko.bindingConventions.init({ useTextInputBinding: true });
Option | Default | Function |
roots | [window] | Used to define a list of root closures so that template convention can find ViewModels. |
excludeConstructorNames | [“Class”] | Some OO libraries override the constructor name. |
useTextInputBinding | false | Input convention will use textInput if this option is set to true (Requires KO 3.2+) |