Adding JQM swipe event to listview link

前端 未结 2 1656
谎友^
谎友^ 2020-12-18 14:17

I am trying to find any examples on how to code jquery mobile swipe event. Although I understand the principal of using swipe and tap etc, I am struggling to get one to work

2条回答
  •  执笔经年
    2020-12-18 14:40

    should be pretty easy according to documentation

  • pageCreate() { $("#listitem").swiperight() { $.mobile.changePage("url"); } }

提交回复
热议问题