Files
Basalt/docs/objects/Object/onLoseFocus.md
Robert Jelic 4d614372a1 Updated docs
There is still stuff to do
2022-08-28 18:18:26 +02:00

346 B

onLoseFocus

onLoseFocus(self)
This event gets triggered as soon as the object loses its focus.

local basalt = require("basalt")

local main = basalt.createFrame()
local aButton = main:addButton()
    :setPosition(3,3)
    :onLoseFocus(
        function(self) 
            basalt.debug("Please come back...") 
        end
    )