| Page 1 of 1 | [ 2 posts ] |
Julien SanchezYUI Contributor
|
Hi,
In older versions of YUI, it's not possible to simulate touchevent (touchstart/touchmove/touchend), as we can read on the official yui website : http://yuilibrary.com/yui/docs/event/simulate.html (No touch event section) But in the last version of YUI (3.6.0) it appears that is possible to simulate touchevent. When you look at this file : http://yuilibrary.com/yui/docs/api/file ... s.html#l60, touchevents are implemented in the script. And if you look at this post : http://www.yuiblog.com/blog/2012/08/10/twiy/; YUI accept a pull request about gesture simulation. But when I do Code: Y.one('mydiv').simulate('touchstart'); . I have this message : Quote: Error: simulate(): Event 'touchstart' can't be simulated. Use gesture-simulate module instead. So i try to used "gesturemovestart" and do Code: Y.one('mydiv').simulate('gesturemovestart'); but i have this message : Quote: Event 'gesturemovestart' can't be simulated So, is it definitively possible to simulate touchevent on YUI, and if yes, why do I have this error ? |
|
GestureSimulation module will release on next YUI version as 3.6.1 that I know of.
https://github.com/yui/yui3/blob/master ... HISTORY.md |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group