I'm trying to slowly convert all my theme code and site to not need jQuery.
Is it possible to call the "js_event_wpv_parametric_search_results_updated" event without using jQuery? I can't seem to get it to work. This is my attempt:
document.addEventListener( 'js_event_wpv_parametric_search_results_updated', function( event, data ) {
...
});
Hello. Thank you for contacting the Toolset support.
The thing is that Toolset uses jQuery internally, within the plugin source code and due to that you cannot get rid of jQuery on Toolset sites.
Even if you try to convert the event "js_event_wpv_parametric_search_results_updated" as normal JavaScript source code, it wont work. You have go with jQuery.
Are there plans to eventually ditch jQuery in the Toolset plugins? I'd hope so, because it's a resource hog and a performance problem moving forward...