add some touch support

- fire touch(start|move|end) events after adding clinetX/Y
- use touch events in video and timeline widgets
- use touchstart to select item in ArrayEditable
This commit is contained in:
j 2016-07-27 21:13:09 +02:00
commit f043242640
7 changed files with 81 additions and 6 deletions

View file

@ -110,7 +110,13 @@ Ox.SmallVideoTimeline = function(options, self) {
self.triggered = false;
mousedown(data);
},
mousedown: mousedown
mousedown: mousedown,
touchend: function(data) {
self.triggered = false;
mousedown(data);
},
touchmove: mousedown,
touchstart: mousedown
})
.appendTo(that);