UIHANDLER OnAttributeChanged
Jump to navigation
Jump to search
Frame:GetAttribute |
||
Frame:SetAttribute |
||
Frame:SetAttributeNoHandler |
||
Frame:CanChangeAttribute |
||
Frame:ExecuteAttribute |
||
OnAttributeChanged |
Fires when an attribute is modified on a frame.
(name, value)
Arguments
- self
- ScriptObject - The object the attribute of which was changed.
- name
- string - The lowercased name of the attribute that was modified.
- value
- any - The value that was assigned.
Details
- This script handler is triggered by Frame:SetAttribute().
- This script handler will always be invoked even if the previous and newly assigned values for an attribute are identical.
Patch changes
- Patch 2.0.1 (2006-12-05): Added.