On Mar 21, 2013, at 9:55 AM, Mate Nadasdi <[email protected]> wrote:

> Hi Guys!
> 
> I have got one question about touch support, but there is no related docs on 
> MDN.
> HTML5 native Drag&Drop implementation works nice in the FF OS simulator. 
> Will it work on the phone too? I tried it on android and iOS but of course it 
> didn't work because of touch surface. 
> 
> Did Mozilla implement a support for this? Are HTML5 click based 
> functionalities working on the mobile too?
> 
> Thank you in advance!

Yes, it will work on the phone. I think you simply need to use the 
touchmove/touchend events. You could look at the code for Gaia's homescreen, 
which allows you to drag/drop apps, for ideas 
https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/js/dragdrop.js

-Kumar

> 
> Best Regards, Mate Nadasdi
> _______________________________________________
> dev-webapps mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-webapps

_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to