Learn how to create a re-usable component in your next project using Knockout.js.
Often when building more complex applications, instead of repeating the same template and binding logic, you’ll want to isolate it as a unit of UI functionality and re-use it throughout your application. When starting out with Knockout.js, however, it’s not always obvious how to do this. In this post I’ll run through creating a pagination control as an example of how to create re-usable controls in Knockout.
Your new post is loading...