WoW:API ChatFrame OnHyperlinkShow: Difference between revisions
Jump to navigation
Jump to search
(3.0 minor change) |
No edit summary |
||
Line 1: | Line 1: | ||
{{framexmlfunc|FrameXML/ChatFrame.lua}} | {{framexmlfunc|FrameXML/ChatFrame.lua}} | ||
This function is called when a user clicks on a link in the chatframe (i.e. on an itemlink). | This function is called when a user clicks on a link in the chatframe (i.e. on an itemlink). | ||
ChatFrame_OnHyperlinkShow(chatFrame, link, text, button) | |||
== Arguments == | |||
;chatFrame : table (Frame) - ChatFrame in which the link was clicked. | |||
;link : String - The link component of the clicked hyperlink. (e.g. "item:6948:0:0:0...") | |||
:( | ;text : String - The label component of the clicked hyperlink. (e.g. "[Hearthstone]") | ||
;button : String - Button clicking the hyperlink button. (e.g. "LeftButton") | |||
Revision as of 15:42, 17 September 2010
← WoW API < ChatFrame:OnHyperlinkShow
- This function is implemented in Lua here FrameXML/ChatFrame.lua.
This function is called when a user clicks on a link in the chatframe (i.e. on an itemlink).
ChatFrame_OnHyperlinkShow(chatFrame, link, text, button)
Arguments
- chatFrame
- table (Frame) - ChatFrame in which the link was clicked.
- link
- String - The link component of the clicked hyperlink. (e.g. "item:6948:0:0:0...")
- text
- String - The label component of the clicked hyperlink. (e.g. "[Hearthstone]")
- button
- String - Button clicking the hyperlink button. (e.g. "LeftButton")