Skip to content

Instantly share code, notes, and snippets.

@yoelnacho
Last active August 18, 2017 22:38
Show Gist options
  • Save yoelnacho/d92f02c33773320e5234d13f50e5639f to your computer and use it in GitHub Desktop.
Save yoelnacho/d92f02c33773320e5234d13f50e5639f to your computer and use it in GitHub Desktop.
ionic3: (ionChange)
<ion-list radio-group (ionChange)="userSelected($event)">
<user *ngFor="let user of users"
[data]="user"></user>
</ion-list>
// Dentro de un grupo de radio buttons, al seleccionar alguno de los elementos
userSelected(event) {
console.log(event);
}
// se obtienen todos los atributos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment