WoW API: ChatFrame:OnHyperlinkShow

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API ChatFrame OnHyperlinkShow to API ChatFrame OnHyperlinkShow without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < ChatFrame:OnHyperlinkShow

"I" iconThis 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[edit]

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")