When crafting custom events for components in Angular2 I
seem used to constantly run into the issue with naming rules of the event and end up burning a ton of time trying to figure out why my code isn't working when everything looks correct, so I wrote a blog post about it...
Since then, the Angular 2 framework has iterated and has reached beta and this post is no longer relevant. I have removed the content and instead encourage you to check out the Angular 2 Cheat Sheet to get a quick reference as to how to handle events (now known as
Output) on components in Angular 2:
Scroll down to the Class field decorators for directives and components section.