官术网_书友最值得收藏!

Summary

In this chapter, you have learned how to split an application using templates that share the same view-model. Now that we know the basics, it would be interesting to extend the application. Maybe we can try to create a detailed view of the product, or maybe we can give the user the option to register where to send the order. You will learn how to do these things in the coming chapters, but it would be interesting to experiment just with the knowledge we have now.

In the next chapter, we are going to learn how to extend Knockout behaviors. This will be useful to format data and to create code that we can reuse over and over. You will learn what custom bindings and components are and how they help us write reusable and elegant code.

The code of this chapter is on GitHub:

https://github.com/jorgeferrando/knockout-cart/archive/chapter2.zip

主站蜘蛛池模板: 清水县| 梓潼县| 扬州市| 盐津县| 嘉禾县| 黄山市| 大冶市| 太白县| 保康县| 岳阳市| 田阳县| 根河市| 宝兴县| 汶上县| 巫溪县| 绿春县| 稻城县| 信宜市| 莎车县| 洛扎县| 弋阳县| 东平县| 琼中| 呼伦贝尔市| 南陵县| 招远市| 扬中市| 新野县| 澜沧| 逊克县| 南雄市| 永和县| 祥云县| 灵寿县| 清苑县| 南召县| 平塘县| 苗栗县| 新巴尔虎左旗| 拉萨市| 西乌珠穆沁旗|