Mechanics of Communication and Custom Events Binding in Angular Components

added by JavaScript Kicks
9/7/2018 7:49:24 AM

452 Views

Event binding with HTMLElements in Angular is quite simple and straightforward. Let's see how event binding in Components works. A component can listen to an event raised by another component by adding the target event within parenthesis () in the target element. Whenever we do this: We are binding the b event to the sub-book Component.


0 comments