An interface for initialization of XUL context menu builder
and for triggering of menuitem actions with assigned identifiers.
Initialize builder before building.
aDocumentFragment | the fragment that will be used to append top level elements |
aGeneratedItemIdAttrName | the name of the attribute that will be used to mark elements as generated and for menuitem identification |
Invoke the action of the menuitem with assigned id aGeneratedItemId.
aGeneratedItemId | the menuitem id |