diff --git a/Checkbox.md b/Checkbox.md index bf11705..82049bc 100644 --- a/Checkbox.md +++ b/Checkbox.md @@ -6,8 +6,8 @@ Here are all possible functions available for checkbox: 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() ````