Differentiate between button pressed and button released in button part
I noticed that currently the button part only exposes an event when the button is clicked. I am currently exploring the integration of Lego Powered Up Hubs and would like to build a little remote control inside kano-code. For that to work I would need to distinguish between a button press and a button release.
I could eventually create a PR to add this functionality but would first like to know if you are willing to support this.
Hey @FWeinb, I see your point. Having both would certainly be useful. However, in many cases our primary users don't know that buttons usually have two events associated with them β it can be confusing for people trying programming for the first time. For simplicity and to reduce the number of blocks in the toolbox, we've decided to have just onClick which fires on release.
I'll bring this up with the product owners to see what they think about this feature.