InterviewSolution
Saved Bookmarks
| 1. |
How Do You Activate A Knockout Model ? |
|
Answer» To activate a MODEL, we CALL the key method ‘ko.applyBindings’, PASSING in the name of the model to bind to as a PARAMETER. ‘ko.applyBindings(MyNewKOModel)’. To activate a model, we call the key method ‘ko.applyBindings’, passing in the name of the model to bind to as a parameter. ‘ko.applyBindings(MyNewKOModel)’. |
|