Refactor Knockout.js view model handlers into model actions in Magento
Learn how to move view model handlers into model actions to improve separation of concerns and make application logic more reusable.
Lesson Content
Now we will create a box configuration model similar to the previously created skuModel.
Creating the Model File
First, create a new file under js/model named box-configurations.js. Cal...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.