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

Angular's component architecture

For me, the concept of directives from the first version of Angular changed the game in frontend UI frameworks. This was the first time that I felt that there was a simple yet powerful concept that allowed the creation of reusable UI components. Directives could communicate with DOM events or messaging services. They allowed you to follow the principle of composition, and you could nest directives and create larger directives that solely consisted of smaller directives arranged together. Actually, directives were a very nice implementation of components for the browser.

In this section, we'll look into the component-based architecture of Angular and how the things we've learned about components will fit into Angular.

主站蜘蛛池模板: 昌乐县| 苍山县| 大新县| 潮州市| 盘锦市| 深泽县| 敦化市| 天水市| 桓台县| 彭阳县| 南城县| 阿克陶县| 房产| 昌乐县| 泸水县| 长阳| 乌拉特前旗| 商南县| 滁州市| 大足县| 鄯善县| 江达县| 华宁县| 榕江县| 马关县| 千阳县| 恭城| 文登市| 安阳县| 文成县| 安义县| 浦江县| 泗阳县| 突泉县| 同心县| 湖南省| 武穴市| 宿州市| 琼结县| 瑞金市| 禄劝|