I'm new in the node red game.
I'm currently have problems with an angular js directive. I tried to install and make ngtouch work, but without luck.
I also tried angular-gestures, no luck eighter.
Then i managed to get ontouchstart to fire a function when clicking a md-button. The problem is that ontouchstart is not a angularjs directive, thus it will not update my callback function and send a new msg.payload.
I would like to send 1 or 0 as my payload message. touchstart should send 0, and touch end should send 1. How do i fix this?