WoW:API ChatFrame OnHyperlinkShow: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
({{framexmlfunc|FrameXML/ChatFrame.lua}} __NOTOC__) |
||
Line 1: | Line 1: | ||
{{framexmlfunc|FrameXML/ChatFrame.lua}} __NOTOC__ | |||
ChatFrame_OnHyperlinkShow(reference, link, button) | 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 == | == Parameters == | ||
Line 9: | Line 11: | ||
:(reference, link, button) | :(reference, link, button) | ||
:; | :;itemString : String - the [[itemString]] - For example: "item:14344:0:0:0" | ||
:;link : the complete | :;link : String - the complete [[itemLink]] - For exmaple: "|cff0070dd|Hitem:14344:0:0:0|h[itemname]|h|r | ||
:;button : | :;button : String - the mousebutton which was pressed - For exmaple "LeftButton" | ||
=== Returns === | === Returns === | ||
:;nil | |||
Revision as of 14:01, 5 September 2006
← WoW API < ChatFrame:OnHyperlinkShow
- This 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