PDA

View Full Version : Highlighting without fading effect



Otake
13 Jan 2010, 3:33 AM
Hello all,

I am using Ext.Fx to highlight some of the cell changes on my grid but I don't want any fading effect. I've tried different options but couldn't get rid of the fading effect. Anyone knows how to do it?

Condor
13 Jan 2010, 4:13 AM
highlight() animates the color from 'color' to 'endColor'.

This means that if you remove the 'fading' it would do nothing!

What exactly would you like it to do?

Otake
13 Jan 2010, 4:20 AM
What I want is to change the background and text color to something else for a sec and then turn back to original colors; but I don't want the fading effect while going back to original colors.

Condor
13 Jan 2010, 5:52 AM
There is no easing type that supports this, but easeInStrong should already look better:

el.highlight({easing: 'easeInStrong'});