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
Original event is not available for onShow and onClose #130
Comments
YES YES, I'm in badly needs of this feature :( |
Very much in need of this |
@pomartel Would you be open to submitting a PR? |
Sure @ghosh , I'll have a look at it next week! |
… be link Otherwise link will work as normal and take user to page. Use until this is closed ghosh/Micromodal#130
I think, i found solution by using other method -
If MicroModal was called this way, you can use |
I have found this issue because I was reading the documentation. I have been through the code and it has been fixed already, but the documentation has not been updated :( There is a pull request. #258 |
Thanks @pjoulot. Seems like I missed this. |
@jmosbech This is scheduled for the next release. This should not have been closed before. |
Hi @ghosh , Thanks a lot of reporting :) |
@DmytroLitvinov It should be released in a few weeks. |
Fixed in |
Thanks for release :) |
Yes planing on doing that. I'm trying to setup github actions for release. Should be able to track releases on GH soon. |
The original event that triggers the opening and closing of the modal is not passed to the
onShow
oronClose
function. This is useful information for my project (ie. need to read a data-attribute on the link that opened the modal) so I added the functionality to my repo in this commit: pomartel@daf4a43I can bundle this in a clean pull request if it can be useful to others.
The text was updated successfully, but these errors were encountered: