om.Form.init
document.addEventListener(‘om.Form.init’, function(event) { console.log(event.detail.Form); console.log(event.detail.Campaign); } );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
document.addEventListener(‘om.Form.init’, function(event) { console.log(event.detail.Form); console.log(event.detail.Campaign); } );Continue reading
document.addEventListener(‘om.Html.append.after’, function(event) { console.log(‘The ‘ + event.detail.Campaign.id + ‘-‘ + event.detail.Campaign.type + ‘ main container is now attached to the outer DOM.’); } );Continue reading
document.addEventListener(‘om.Html.append.after’, function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is passed the Html object console.log(event.detail.Html); } );Continue reading
document.addEventListener(‘om.Html.inlineScripts’, function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } )Continue reading
document.addEventListener(‘om.Html.scripts’, function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );Continue reading
document.addEventListener(‘om.Html.append.before’, function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );Continue reading
document.addEventListener(‘om.Html.shortcodes’, function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );Continue reading
document.addEventListener(‘om.Html.customVars’, function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );Continue reading
document.addEventListener(‘om.Html.show’, function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );Continue reading
document.addEventListener(‘om.DisplayRules.actions’, function(event) { console.log(event.detail.DisplayRules); // An array of the Ruleset objects which have passed console.log(event.detail.DisplayRules.passed); console.log(event.detail.Campaign); } );Continue reading