Toggle, how to track if it changed?

as the title says, can anyone share an example to detect a change?

<ion-toggle danger [(ngModel)]="user.is_blocked" ionChange="changeStatus(user.is_blocked)"></ion-toggle>
    changeStatus(ev) {

seems like changeStatus() is not even triggered.


can anyone help please?

Output bindings need parentheses: (ionChange).

1 Like

Ahhh my bad, it works now, thank you