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

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.

主站蜘蛛池模板: 永嘉县| 鲁山县| 乌兰察布市| 浑源县| 桃源县| 秦皇岛市| 新泰市| 宾川县| 顺义区| 饶阳县| 兰西县| 龙井市| 修水县| 贵港市| 双柏县| 石屏县| 城市| 铅山县| 南漳县| 华容县| 卢氏县| 桂林市| 麻栗坡县| 绿春县| 手游| 杂多县| 安新县| 华池县| 噶尔县| 河池市| 漳州市| 稷山县| 花垣县| 抚松县| 鹿泉市| 山东省| 安龙县| 繁峙县| 武威市| 隆化县| 叙永县|