Gform_confirmation_loaded and vanilla JavaScript

Is there a way to make the handler gform_confirmation_loaded works with vanilla JavaScript?

document.addEventListener(‘gform_confirmation_loaded’, () => {

});

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.