Basic question


I followed the beginners tutorial “Your First App”.

At Step 10 I don’t understand what the handlers “name” and “command” in the function are for ?

When I write “function()” instead of “function(name, command)” then the App still works.

Does anybody know what those handlers are for ?

Kind regards

In the mentioned tutorial there is no need to use these attributes.
The meaning is that the name of the clicked button can be caught inside the onButtonClick handler.

Thanks for the clarification.