@icarus_31 wrote:
Hi,
I would like to know why the "change" event is not triggered when changing the toggle state. What am I missing?
html
<ion-item> <ion-label>Toggle state</ion-label> <ion-toggle [(ngModel)]="theSate" (change)="stateChange($event)" [checked]="_bState" yellow></ion-toggle> </ion-item>
ts
stateChange(event) { do something }
Thanks
Posts: 1
Participants: 1