Files
futurewalker/public/build/assets/LqipLoader-63085cd5.js
2023-11-23 15:03:45 +08:00

2 lines
434 B
JavaScript

import{_ as i}from"./vue-4ae8bf2c.js";const n={name:"LqipLoader",mounted(){this.initLqipLoading()},methods:{initLqipLoading(){const e=document.getElementsByTagName("img");for(let t=0;t<e.length;t++)e[t].getAttribute("data-src")&&(e[t].onload=function(){this.classList.remove("lqip-blur")},e[t].setAttribute("src",e[t].getAttribute("data-src")))}}};function o(e,t,r,s,a,c){return null}const m=i(n,[["render",o]]);export{m as default};