I'm working with a loop of data and have a modal for each iteration
<div ref="vuemodal-{{loop.index}}">
Each modal is a bootstrap modal, and I want to bind an event to them that triggers whenever the modal is closed
mounted(){
Object.keys(this.$refs).map((val) => $(this.$refs[val]).on("hidden.bs.modal",
this.doSomethingOnHidden))
}
However, I seem to be having trouble accessing the object correctly