Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Functionality: send data to remodal from #294

Open
nurbol-sarsenbayev opened this issue Oct 3, 2018 · 0 comments
Open

New Functionality: send data to remodal from #294

nurbol-sarsenbayev opened this issue Oct 3, 2018 · 0 comments

Comments

@nurbol-sarsenbayev
Copy link

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);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant