created wiki

This commit is contained in:
Samkist
2022-05-30 02:06:50 -04:00
parent 3c821a48d4
commit d638920e3e
31 changed files with 1956 additions and 0 deletions

13
docs/Checkbox.md Normal file
View File

@@ -0,0 +1,13 @@
With checkbox, the user can set a bool to true or false
Here are all possible functions available for checkbox:<be>
Remember checkbox inherits from [object](https://github.com/NoryiE/NyoUI/wiki/Object):
Create a onChange event:
````lua
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()
````