Farata / angular2typescript

Code samples from the book Angular 2 Development with TypeScript
MIT License
440 stars 270 forks source link

List 6.3 event name should be “lastPrice” not “last-price” #26

Open yanyu0517 opened 7 years ago

yanyu0517 commented 7 years ago

As the code show,the name of event should be same as @Output property which is ”lastPrice“,but in following bold string :

“On the application level, the event handler for the last-price event is invoked to display the price quote that arrives with the event object”

The event which is named "lastPrice" is called "last-price" wrongly