jquery - javascript small fade in fade out library that using requestAnimationFrame -
i've try 1 one on microjs, not complete. don't use jquery because want simple animation fadein() fadeout() stop()
function using requestanimationframe
.
nwtjs, xuijs, morpheus, tweenjs, vivi, shifty , other small js anim. libs @ microjs
seem not complete. example, morpheus+ender
, have fadein() & out
different jquery.
jquery fadeout: reduce opacity display none. jquery fadein: display increase opacity original. morpheus+ender different thing, , dont know, whether have handy stop()
function or not.
there gsap, tweenjs,
but... no
for now, still use custom build of jquery minified filesize: 55.88 kb / gzip: 19.28 kb animating elements , doing css. not efficient, plus jquery doesn't use requestanimationframe
so, animation library using requestanimationframe methods fadein, fadeout, stop
? or, how build our own functions?
Comments
Post a Comment