forked from 0x2620/oxjs
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:
parent
72a7d54025
commit
f043242640
7 changed files with 81 additions and 6 deletions
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue