You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
292 B
2 lines
292 B
2 years ago
|
"use strict";module.exports=function({from:t=0,to:o=1,duration:s=400}={}){return t<0&&(t=0),o>1&&(o=1),function({popper:e,arrow:i}){e.style.opacity=t,i&&(i.style.opacity=t),setTimeout((()=>{e.style.transition=s+"ms",e.style.opacity=o,i&&(i.style.transition=s+"ms",i.style.opacity=o)}),18)}};
|