WoW:SecureActionButtonTemplate: Difference between revisions

(→‎menu: using the .showmenu table key does not work, use the .menu key instead)
Line 194: Line 194:
|}
|}
  frame:SetAttribute("type", "target")
  frame:SetAttribute("type", "target")
-----
===target-item===
Perform an action (e.g. spell=disenchant) on an item in your bags
<br />
'''Attributes:'''
frame:SetAttribute("target-item", "itemName" or "[[itemString]]" or "[[itemLink]]")  -- possibly itemid? not tested
-----
-----


Anonymous user