Creating User Interface Component APIs in Angular and Web Components – Kara Erickson and Rachael L M

preview_player
Показать описание


So you’ve embraced architecting your Angular application with reusable components – cheers to you! But you have UI components that need to communicate with each other or expose public methods, and you’re wondering about your options. In this talk, we’ll cover how new web component standards, like Custom Elements, handle this. Next, we’ll walk through how to accomplish it today in Angular 1.x – and bring it all together into what a solution will look like in upcoming Angular 2.
Рекомендации по теме
Комментарии
Автор

There is another way to communicate between directives in Angular 1. See Jeremy Elbourne's ng-europe talk on Software Patterns and the "Directive Proxy Object".

MrLeptronic