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

@ -94,7 +94,8 @@ Ox.ArrayEditable = function(options, self) {
key_left: self.options.type == 'input' ? selectPrevious : selectFirst,
key_right: self.options.type == 'input' ? selectNext : selectLast,
key_up: self.options.type == 'input' ? selectFirst : selectPrevious,
singleclick: singleclick
singleclick: singleclick,
touchstart: singleclick
});
self.$items = [];