Updated Checkbox (markdown)

Robert Jelic
2022-05-02 18:34:07 +02:00
parent 917f99f611
commit 14005ba404

@@ -6,8 +6,8 @@ Here are all possible functions available for checkbox:<be>
Create a onChange event:
````lua
local mainFrame = NyoUI.createFrame("myFirstFrame"):show()
local aCheckbox = mainFrame:addCheckbox("myFirstCheckbox"):onChange(function(self) NyoUI.debug("The value got changed into "..self:getValue()) end):show()
local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aCheckbox = mainFrame:addCheckbox("myFirstCheckbox"):onChange(function(self) basalt.debug("The value got changed into "..self:getValue()) end):show()
````