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
Adding a destroy method to properly remove instances. #10
Comments
Thanks for filling this issue, I see 2 things here :
I am renaming this issue to reflect that. Thanks again for the issue ! |
Yes, I tried to use I have also checked the examples of using pjax on other websites, and found that it will be added repeatedly in the event list. It is normal to think about it later, most plug-in instances will not think of matching with page rendering processing mechanisms such as Of course, I think I don't plan to use The |
I reopen this issue as it might not be needed anymore for you but a destroy method is definitely something I will add. |
I want to use
minimasonry
+pjax
to realize the layout without refreshing the page, but when I encounter this, I will always add theresize
event. I mentioned issues in pjax, and the other party suggested to delete the event addition when executing, but I can't remove theresize
event.Every time you jump to a page, you need to perform minimasonry once, but the old page events will remain in the address. I don't think the chance of resolution is very high, but I still want to ask for advice.
The text was updated successfully, but these errors were encountered: