Lore archive · Warcraft Wiki, 2023 dump
API Frame SetAttribute
Last wiki revision 2023-08-21
Sets an attribute on the frame. Frame:SetAttribute(attributeName, value) Frame:SetAttributeNoHandler(attributeName, value)
- attributeName: - The name of the attribute (case-insensitive) to be modified.
- value: - The value to be stored.
- Attributes are typically used to launder values from insecure code to a protected or restricted environment, as described in Secure Execution and Tainting. They should not be confused with XML attributes.
- Calling triggers the OnAttributeChanged script handler. Conversely, calling will not trigger this.
Source
https://warcraft.wiki.gg/wiki/API_Frame_SetAttribute · 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.