The plain assignment of the button text took me first a bit by surprise... I thought @Gordon implemented the set/get on property of an object... but going back to the clip I noticed that the redraw of the button on release will put the text in place...
Now we are back to some thoughts we exchanged earlier in the thread... As I interpret, the push redraws the button in pressed state - handled obviously just before the onPress registered function is invoked... no splitting hairs intended here! It just shows how challenging UIs are in regard of communication with the user, especially when it comes to instant feedback. I'm glad for the native implementation, it gives the user the feel of great responsiveness!
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The plain assignment of the button text took me first a bit by surprise... I thought @Gordon implemented the set/get on property of an object... but going back to the clip I noticed that the redraw of the button on release will put the text in place...
Now we are back to some thoughts we exchanged earlier in the thread... As I interpret, the push redraws the button in pressed state - handled obviously just before the onPress registered function is invoked... no splitting hairs intended here! It just shows how challenging UIs are in regard of communication with the user, especially when it comes to instant feedback. I'm glad for the native implementation, it gives the user the feel of great responsiveness!