Ajaxinate
Ajaxinate copied to clipboard
Add load event
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.
@qnak94 for sure. I'm a big fan of custom events for plugins. I'll look at adding this as soon as we can.