Frame.Event:LeftDown()

From Riftui Wiki

Jump to: navigation, search

This function is triggered when the left mouse button is pressed inside the frame.

Contents

Signature

function frame.Event:LeftDown()
       ...
end

Parameters

None

Return Value

None

Example

local context = UI.CreateContext("SampleContext")
local frame = UI.CreateFrame("Frame", "SampleFrame", context)
 
-- Overload the LeftDown function --
function frame.Event:LeftDown()
       -- Print out LeftDown! --
       print("LeftDown!")
end
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox