Remodal
Remodal copied to clipboard
New Functionality: send data to remodal from
Hi, can you make functionality of sending data to opening remodal. It will be helpfull when we have multiple links which opens one remodal and need to identify which link opened remodal
<a href="#" data-remodal-target="modal" data-remodal-source="modal1"> modal1 </a>
<a href="#" data-remodal-target="modal" data-remodal-source="modal2"> modal2 </a>
<a href="#" data-remodal-target="modal" data-remodal-source="modal3"> modal3 </a>
$(document).on('opening', '.remodal', function (e, source) {
console.log('source);
});