houdini/client/js/nonprofits/donate/plugins-available/dummy.js

16 lines
308 B
JavaScript
Raw Normal View History

(function () {
var container = document.querySelector('.js-donateForm');
container.addEventListener('render:pre', function (e) {
console.log(e);
// e.target matches elem
}, false);
container.addEventListener('render:post', function (e) {
console.log(e);
// e.target matches elem
}, false);
})();