JQuery-Mobile collapsible expand/collapse event

前端 未结 5 920
离开以前
离开以前 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:45

    I don't think there is another way to do this. I do not believe that you can utilize animationComplete in this case as described here:
    http://jquerymobile.com/test/docs/api/events.html

    Maybe you can utilize certain class changes on the specific elements, which in fact isn't better than binding an onclick event of the header.

提交回复
热议问题