From 5253d03c6039d14d7a0e159391cb413232cec136 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Fri, 24 Jun 2022 19:43:30 +0200 Subject: [PATCH] Update otherEvents.md --- docs/events/otherEvents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/events/otherEvents.md b/docs/events/otherEvents.md index 7f48636..8d233aa 100644 --- a/docs/events/otherEvents.md +++ b/docs/events/otherEvents.md @@ -2,7 +2,7 @@ There are also other useful events you can listen to: # onChange `onChange(self)`
-This is a custom event which gets triggered as soon as the method :setValue() gets called. Not only you can call :setValue(), also input, checkbox, textfield, ... objects call them internally. +This is a custom event which gets triggered as soon as the function :setValue() is called. This function is also called by basalt, for example if you change the input, textfield or checkbox (or all the different types of lists) objects. Here is a example on how to add a onChange event to your input, and also another example for your checkbox: