我试图在输入结束时获得带有Ionic 2的范围滑块的值。离子2范围touchend事件
在doumentation唯一可用的事件是ionChange,它在输入过程中触发多次,我只需要最后一个值来执行操作。
我试着手动添加touchend事件,但事件被忽略。
这里还有一个Plunker与问题。
<ion-range (ionChange)="showVal($event)" (touchend)="presentValue(event)" min="0" max="100" [(ngModel)]="currentTime" color="danger">
<ion-icon small range-left name="sunny"></ion-icon>
<ion-icon range-right name="sunny"></ion-icon>
</ion-range>
有没有人知道在Ionic 2的范围滑块上聆听touchend事件的方法?