To make action buttons more useful, add a type option to the manifest. Per default this is "button", but can be set to "menu" or "menubutton". This cannot be changed after the button has been created. For "menu" and "menubutton" the action button will have drop-down-selector which opens a menu, which is accessible from the menus API via the `*_button_menu` context. If "menu" is selected, the onClicked event is disabled and a click on the button will open the menu. This also means no popup support for this type.
Bug 1705867 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
To make action buttons more useful, add a type option to the manifest. Per default this is "button", but can be set to "menu" or "menubutton". This cannot be changed after the button has been created. For "menu" and "menubutton" the action button will have drop-down-selector which opens a menu, which is accessible from the menus API via the `*_action_menu` context. If "menu" is selected, the onClicked event is disabled and a click on the button will open the menu. This also means no popup support for this type.