silly-soccer-20915
09/23/2022, 6:19 PM<script>
htmx.defineExtension('exclude-from-oob-swap', {
onEvent: function (name, evt) {
if(name === "htmx:oobBeforeSwap"){
console.log(name);
console.log(evt.detail);
console.log(evt.detail.xhr);
console.log(evt.xhr);
}
}
});
</script>
Am I approaching something the wrong way?? Thanks for further answers!