Closed daun closed 1 year ago
Describe the problem
window.swup
swup:enable
Describe the proposed solution
<script> console.log('swup not yet enabled', window.swup); document.addEventListener('swup:enable', () => { console.log('swup enabled', window.swup); }); </script>
Describe the problem
window.swup
is not available immediately: #6swup:enable
event on the document before accessing itDescribe the proposed solution