From 14005ba40421fcdcca3dbf7863dfc45da1ee36f0 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Mon, 2 May 2022 18:34:07 +0200 Subject: [PATCH] Updated Checkbox (markdown) --- Checkbox.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ````