Inherits from | |
Technology area | Safari Extensions |
Availability | Available in Safari 5.0 and later. |
Instances of the SafariExtensionContextMenuItem
class represent individual menu items within an extension’s context menu.
The command identifier that the context menu item sends when activated.
attribute DOMString command
Setting an empty string, null
, or undefined
has no effect.
This attribute is optional; the value defaults to the value of identifier
.
A Boolean value that indicates whether a context menu item is disabled.
attribute boolean disabled
Disabled menu items are not displayed in the context menu.
The unique identifier of the context menu item.
readonly attribute DOMString identifier
This attribute is required.
The title displayed in the context menu.
attribute DOMString title
This attribute is required.
Setting an empty string, null
, or undefined
has no effect.
Last updated: 2010-07-13