weex swipe event does not trigger in iOS, but can trigger in Android
code show as below:
<p class="room-wrapper">
<p class="room" v-for="item in 4" v-on:swipe="onSwipe($event,item)">
<text class="room-text">Room {{item}}</text>
</p>
</p>
onSwipe(event, item){
console.log('>>>>>>>>>>')
console.log(event)
console.log(event.direction)
},
某草草2017-07-01 09:14:29
It’s not that it’s not triggered in iOS, it’s that you can’t use the console to print in iOS