{"json_modified": "2016-03-28T08:23:07.106244", "uuid": "52d6cbcd-bc63-4945-942d-5921a432547a", "title": "add", "url": "/en-US/docs/Mozilla/Add-ons/Firefox_for_Android/API/NativeWindow/menu/add", "tags": ["menu", "Reference", "NativeWindow", "R\u00e9f\u00e9rence"], "translations": [], "modified": "2016-01-15T10:49:10", "label": "add", "localization_tags": [], "locale": "en-US", "id": 54214, "last_edit": "2016-01-15T10:49:09", "summary": "NativeWindow.menu.add()
adds a new item to the main menu in Firefox for Android. By specifying an optional parent
attribute, a menu item can be added to the submenu of the parent.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "Summary"}, {"id": "Syntax", "title": "Syntax"}, {"id": "Returns", "title": "Returns"}, {"id": "Example", "title": "Example"}, {"id": "Example_1_Main_level_menu_item", "title": "Example 1: Main level menu item"}, {"id": "Example_2_Menu_item_with_a_submenu", "title": "Example 2: Menu item with a submenu"}, {"id": "Example_3_Checkable_menu_item", "title": "Example 3: Checkable menu item"}], "slug": "Mozilla/Add-ons/Firefox_for_Android/API/NativeWindow/menu/add", "review_tags": []}