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

Add load event #67

Open
qnak94 opened this issue Jan 18, 2021 · 1 comment
Open

Add load event #67

qnak94 opened this issue Jan 18, 2021 · 1 comment
Assignees

Comments

@qnak94
Copy link

qnak94 commented Jan 18, 2021

Sometimes you need to execute code after uploading products, for example, update SmartWishlist.
You can add an event
this.ajaxinateLoaded = new Event('ajaxinateLoaded');
and execute it immediately after adding new products?
document.dispatchEvent(this.ajaxinateLoaded)
I think this will help a lot.

@Cam
Copy link
Member

Cam commented Jun 5, 2021

@qnak94 for sure. I'm a big fan of custom events for plugins. I'll look at adding this as soon as we can.

@Cam Cam self-assigned this Jun 5, 2021
@Cam Cam added the enhancement label Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants