Include a custom namespaced event when Ajax is successful
-
Hey there!
I’d like to request for a small improvement.
When the
wpcSendFilterRequest
ajax success runs, please add an extra custom event for example :$(document).trigger( 'filter_everything/success', [$responsePostsContainer] );
Screenshot https://d.pr/i/bhds15 . There’s an extra vanilla JS event which i belive is much better for the future in case you will drop jQuery.
Those other events aren’t useful because they are too generic and broad. The ready event also fires on DOM loaded while scroll/resize are out of the question.
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Include a custom namespaced event when Ajax is successful’ is closed to new replies.