Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

UIHANDLER OnHyperlinkClick

Last wiki revision 2022-09-01

Fires when clicking a hyperlink. (self, link, text, button, region, left, bottom, width, height)

  • self : - The widget registered for this script handler.
  • link : - The link payload (e.g. "item:6948:0:0:0:...").
  • text : - The link label (e.g. "[Hearthstone]").
  • button : - "LeftButton", "RightButton", "MiddleButton", "Button4", "Button5", ..., "ButtonN"
  • region : - The the hyperlink belongs to.
  • left : - The x position of the hyperlink in pixels, relative to the region top left corner.
  • bottom : - The y position of the hyperlink in pixels, relative to the region top left corner.
  • width : - Hyperlink width in pixels.
  • height : - Hyperlink height in pixels.
  • Requires, or a child frame defined in XML with.

Using to mimick the default chat frames.

Responding to a hyperlink contained in a child.

Source

https://warcraft.wiki.gg/wiki/UIHANDLER_OnHyperlinkClick · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.