How to listen to event touchstart on cc.EditBox?

How to listen to event touchstart on cc.EditBox?
0

#1

I want listent event touch when player taps to an EditBox on mobile. I have tried many ways without success. Could any one help to solve this? Thanks!


#2

Actually I had implemented this feature in C++ before, using setFocused method. But Cocos Creator does not support this API on native. And I don’t know how to transfer a node as parameter via bindings to call such API from C++ to JS.