WoW:API ChatFrame OnHyperlinkShow: Difference between revisions

{{framexmlfunc|FrameXML/ChatFrame.lua}} __NOTOC__
No edit summary
({{framexmlfunc|FrameXML/ChatFrame.lua}} __NOTOC__)
Line 1: Line 1:
This method is called when a user clicks on a link in the chatframe (i.e. on an itemlink).
{{framexmlfunc|FrameXML/ChatFrame.lua}} __NOTOC__
 


<!-- begin code -->
  ChatFrame_OnHyperlinkShow(reference, link, button)
  ChatFrame_OnHyperlinkShow(reference, link, button)
<!-- end code -->
 
This function is called when a user clicks on a link in the chatframe (i.e. on an itemlink).
 


== Parameters ==
== Parameters ==
Line 9: Line 11:
:(reference, link, button)
:(reference, link, button)


:;reference : the itemrefence -  For example: "item:14344:0:0:0"
:;itemString : String - the [[itemString]] -  For example: "item:14344:0:0:0"
:;link : the complete hyperlink - For exmaple: "|cff0070dd|Hitem:14344:0:0:0|h[itemname]|h|r
:;link : String - the complete [[itemLink]] - For exmaple: "|cff0070dd|Hitem:14344:0:0:0|h[itemname]|h|r
:;button : a string representing the mousebutton which was pressed - For exmaple "LeftButton"
:;button : String - the mousebutton which was pressed - For exmaple "LeftButton"


=== Returns ===
=== Returns ===
nothing
:;nil
 
{{API/Uncategorized}}
Anonymous user