Action.onLeftClick

Example by applejuice:
local myAction = myPage:newAction()

myAction:onLeftClick(function()
log("Heheh I got Left Clicked!")
end)
Sets the function that is executed when the left mouse button is clicked
The function has one argument
The first argument is this action itself
overload 1:
Action:onLeftClick(leftFunction)
Method Property Fluent Description Representation
leftFunction accepts a function that takes an Action and will return anything
Return Value an Action
a a