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

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.

主站蜘蛛池模板: 滦南县| 镇远县| 奉贤区| 老河口市| 桃园市| 赞皇县| 吉隆县| 外汇| 兰州市| 宝山区| 龙山县| 垦利县| 南昌县| 绥棱县| 泊头市| 济阳县| 奇台县| 肥东县| 富蕴县| 亳州市| 永平县| 亳州市| 汕尾市| 汽车| 江津市| 石景山区| 黔江区| 辽阳县| 修文县| 洛南县| 澄城县| 尼木县| 大理市| 陵水| 永泰县| 邳州市| 安义县| 陈巴尔虎旗| 嵩明县| 盘山县| 西宁市|