Mobile/Fennec/Extensions/UserInterface: Difference between revisions

(→‎Site Menu: link to new API documentation)
Line 194: Line 194:
The context menu appears when a user does a "long tap" (touch and hold) on a link, image, or other page/UI element.
The context menu appears when a user does a "long tap" (touch and hold) on a link, image, or other page/UI element.


Add-ons can add new commands to the context menu.  See [http://starkravingfinkle.org/blog/2010/04/fennec-1-1-context-menus/ Mark Finkle's blog post] for details.
Add-ons can add new commands to the context menu.  For documentation see [[/Context Menu]].
 
Fennec 2.0 adds context menus for more types of elements, and a new <tt>ContextHandler.registerType</tt> API for add-ons to add their own types.  See the [http://bitbucket.org/mbrubeck/showtitle/src/tip/content/ Show Image Title source code] for an example. (Documentation coming soon.)
 


====Bookmarks List====
====Bookmarks List====
canmove, Confirmed users
1,584

edits