Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// HTML ///
- <tr *ngFor="let book of books" (click)="selectBook(book)">
- /// Typyescript ///
- selectBook(book: Book): void {
- this.bookSelected.emit(book);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement