addEventListener("DOMContentLoaded");
setAttribute('class')
setAttribute("style")
createElement
textContent
prepend
innerHTML
addEventListener('click')
style.cssText
Object.assign
appendChild
querySelectorAll('img')
forEach()
anonymous function
prepend
-
You can use it just download it with:
git clone https://github.com/jordantsap/wact.git -
Copy the wact.js file to the required website location
-
Link the file using <script src="wact.js"></script> in head or footer html tag
-
Enjoy!