JQuery-Mobile collapsible expand/collapse event

前端 未结 5 940
离开以前
离开以前 2020-12-01 15:53

Does anyone know any other way to capture the event of expanding or collapsing a component marked with data-role=\"collapsible\" apart from the onclick

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-01 16:47

    You could try the jQuery mobile tap event. I haven't used it personally, but I hear it's similar to the mousedown event handler. If you gave a little more detail about why the onclick isn't working maybe we could help you out a little more.

提交回复
热议问题