Run whenever an event fires for which the frame is registered. In order for this script to be run, the frame must be registered for at least one event via its
:RegisterEvent() method. See the Events Reference for details of each event.
Signature:
Code
OnEvent(self, "event", ...)
Arguments:
- self - Reference to the widget for which the script was run (frame)
- event - Name of the event (string)
- ... - Arguments specific to the event (list)
Доступна для: Animation, AnimationGroup, Alpha, Path, Rotation, Scale, Translation, Frame, ArchaeologyDigSiteFrame, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, Model, MovieFrame, QuestPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, PlayerModel, DressUpModel, TabardModel