Hi,
In order to improve the user experience of my app, I'll add context menus.
I would like them to appear on a right click.
Questions:
1) In menu_1.html I have seen this:
w1.addEventListener("mousedown", function(e)
{
e.setPropagationStopped(true);
});
What does the undocumented method setPropagationStopped() do?
2) What's best to use the click or the mousedown event?
3) How do I force it to appear only on a right click?
I have the event.getButton() method to filter, but if I don't test which
button is pressed, only appears with the left button.
Thanks for any answer.
I'll try to update the doc with helpful answers, in order to avoid re-asking
the same questions.
Regards,
David
--
View this message in context:
http://www.nabble.com/Context-menu-tf3944669.html#a11189608
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel