How does Mini Program realize the simulation of pressing and releasing events?

I now use Mini Program touch start events bindtouchstart and bind:touchend as press and release events, but to make certain restrictions, if a single point is not implemented, how to limit ah?

    startRecord: function(e) { 
        console.log("") 
    },
    endRecord: function(e) {
        console.log("")
    },

longpress learn about

https://developers.weixin.qq.

Menu