toddmotto / angularjs-styleguide

AngularJS styleguide for teams
https://ultimateangular.com
5.96k stars 700 forks source link

[question] EventEmitter #82

Closed samithaf closed 8 years ago

samithaf commented 8 years ago

Just wondering which library you are using for EventEmitter.

floriangosse commented 8 years ago

Look onto the example of Stateless components. There you can see the registration of a value EventEmitter at the bottom. The function returns an object with the property $event which contains the passed value.

samithaf commented 8 years ago

@floriangosse cheers mate. I haven't noticed it. Was wondering todd might have ported Angular 2 EventEmitter to Angular 1.x