Looking to enhance the functionality of a Bootstrap 4 accordion, I am exploring the possibility of utilizing their events (https://getbootstrap.com/docs/4.0/components/collapse/#events). In one of their examples,
$('#myCollapsible').on('hidden.bs.collapse', function () {
// do something…
})
It appears that the callback function does not receive any information.
I am interested in knowing which specific element(s) were either shown or hidden. Could it be true that this is not achievable with the .bs.collapse
events?