I need a simple functionality but I cannot find an answer to it anywhere. I need an equivalent of jQuery's .hide() method, so that final CSS is display:none.
autoAlpha:0 only results in visibility:hidden; opacity:0;
but I also need to have display:none.
I can add a callback in onComplete to manually hide it with CSS, but is there a cleaner way?
Thanks!