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
data-role=\"collapsible\"
onclick
In jQuery Mobile 1.4 there are the collapsiblecollapse and collapsibleexpand events. https://api.jquerymobile.com/collapsible/#event-collapse
$( ".selector" ).on( "collapsiblecollapse", function( event, ui ) {} );