Open t7m opened 2 months ago
Your documentation shows this:
$('.my-link').modaal({ before_open: function() { alert('Before open'); }, after_open: myFunction });
Great. So what I want to do is in the before_open function, some specific logic based on which element was clicked. What is that element? How can I get to it? It does not appear to be $( this )
Your documentation shows this:
$('.my-link').modaal({ before_open: function() { alert('Before open'); }, after_open: myFunction });
Great. So what I want to do is in the before_open function, some specific logic based on which element was clicked. What is that element? How can I get to it? It does not appear to be $( this )