MooTools: Fade out element?

Posted by JamesBrownIsDead on Stack Overflow See other posts from Stack Overflow or by JamesBrownIsDead
Published on 2010-01-09T20:45:14Z Indexed on 2010/04/19 10:53 UTC
Read the original article Hit count: 238

Filed under:
|

I have an Element object that I'm currently calling .hide() on. Instead, I'd like to fade out the opacity of the entire Element (and its children) to 100% (hidden) as a transition effect over maybe 500 ms or 1000 ms.

Can Fx.Tween be used for this? Is this possible--does the MooTools framework have an effect like this in its UI library?

© Stack Overflow or respective owner

Related posts about mootools

Related posts about fadeout