html5 - Which event is fired when releasing a HTML input range (slider) on touch device? -
in angular 2 app use plain vanilla html5 input type "range" provide user simple slider component.
<input type="range" [min]="x" [max]="y" (mouseup)="onreleased()" />
i need know when user released slider. releasing means using mouse dragging finished , mouse button has been released. purpose hook onmouseup event. however, not apply in case use touch device.
on tablet can drag slider aroun, when releasing finger event no fired.
i know, not mouse, event equivalent on mouse , works on touch devices?
Comments
Post a Comment