UniGui. Unique hybrid of Delphi and JS
Now, in the object inspector, find ExtEvents
Next, click 2 times on the empty field next to the click event, and the system itself will give us the code
Thus, how to access a particular element through JS from Delphi?
Select the element on which we will work (for example, the UniButton1 button in our example)
Open Object Inspector in Delphi
Find ClientEvents, then ExtEvents
Next, select the event that we will process, for example click, then click 2 times on the empty field next to it – a function template will appear, for example, for the click event