Lightweight Loading Animation

View on Github
new Lwder({ selector: ".lwder" });
Default Events
lwder="..." lwderspeed="300"
Page is loading
lwder="." lwderspeed="400"
Please Wait
lwder="⚠️" lwderspeed="400"
Warning
lwder="🛑" lwderspeed="200"
STOP
lwder="Loading..." lwderspeed="100"
lwder="🔴🟠🟡🟢🔵🟣" lwderspeed="200"
Onclick Events
lwder="..." lwderspeed="200" lwderduration="3000" lwdertype="onclick"
Load Page
lwder="🟥🟧🟨🟩🟦" lwderspeed="200" lwdercondition="clear" lwderduration="3000" lwdertype="onclick"
Get Content
lwder="✅" lwderspeed="300" lwderduration="3000" lwdertype="onclick"
Refresh