work.suroh.tk/assets/js/script.js

12 lines
263 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
// importing scripts
import '/assets/js/interaction.js'
2019-12-07 21:49:59 +00:00
// 'page' load transitions
const pageSection = document.querySelector('section.page')
pageSection.addEventListener('load', (e) => {
console.log('div loaded?')
console.log(e.target)
alert('ehllo')
})