Le 30/07/2013 00:27, [email protected] a écrit :
> I've seen many special methods in android and iOS for a long press event but 
> how would you detect that in FXOS? Which event (type) listener would you add? 
> And how would you check that the click(mousedown) is ongoing?
>

The longpress event is caught using the standard "contextmenu" event.

If the event is not defaultPrevented in the "contextmenu" event handler,
then a click event is triggered as well (not true in v1.0.1).

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to