Ajaxinate icon indicating copy to clipboard operation
Ajaxinate copied to clipboard

Add load event

Open qnak94 opened this issue 3 years ago • 1 comments

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 avatar Jan 18 '21 21:01 qnak94

@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 avatar Jun 05 '21 03:06 Cam