[TIMOB-5628] MobileWeb: Click event not works with slider
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-27T04:06:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | n/a |
Reporter | Misha Vasko |
Assignee | Maxim Negadaylov |
Created | 2011-05-27T02:03:19.000+0000 |
Updated | 2017-03-09T20:39:53.000+0000 |
Description
The click event not works with slider object in desktop browser. The dblclick event works good.
var win = Ti.UI.currentWindow;
var slider = Ti.UI.createSlider({
value: 'the slider',
top: 10,
left: 10,
width: 200,
height: 50,
min: 0,
max: 100
});
win.add(slider);
slider.addEventListener('click', function(){
alert('click works');
});
slider.addEventListener('dblclick', function(){
alert('dblclick works');
});
Closing ticket as fixed.