WoW:API ChatFrame OnHyperlinkShow: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
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}}

Revision as of 14:01, 5 September 2006

WoW API < ChatFrame:OnHyperlinkShow

"I" iconThis function is implemented in Lua here FrameXML/ChatFrame.lua.


ChatFrame_OnHyperlinkShow(reference, link, button)

This function is called when a user clicks on a link in the chatframe (i.e. on an itemlink).


Parameters

Arguments

(reference, link, button)
itemString
String - the itemString - For example: "item:14344:0:0:0"
link
String - the complete itemLink - For exmaple: "|cff0070dd|Hitem:14344:0:0:0|h[itemname]|h|r
button
String - the mousebutton which was pressed - For exmaple "LeftButton"

Returns

nil