Veu JS vs Angular vs React Fitur
<script src="https://gist.github.com/akashbajwa/b03608205c54f265cb34a4f946e96746.js"></script>
Proud Piranha
<script src="https://gist.github.com/akashbajwa/b03608205c54f265cb34a4f946e96746.js"></script>
`,
})
export class UserListComponent {
@Output() selectUser = new EventEmitter<{ id: string; name: string }>()
@Inout() users: { id: string; name: string }[]
onSelectUser(id: string) {
this.selectUser.emit(this.users.find(u => u.id === id))
}
}