You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: