Class Roo.Fx.fadeOut
Package: | Roo.Fx |
Defined In: |
Roo/Fx.js.
|
Class: | fadeOut |
Fade an element out (from opaque to transparent). The ending opacity can be specified
using the "endOpacity" config option.
Usage:
// default: fade out from the element's current opacity to 0
el.fadeOut();
// custom: fade out from the element's current opacity to 25% over 2 seconds
el.fadeOut({ endOpacity: .25, duration: 2});
// common config options shown with default values
el.fadeOut({
endOpacity: 0, //can be any value between 0 and 1 (e.g. .5)
easing: 'easeOut',
duration: .5
remove: false,
useDisplay: false
});
Config Options - Has None
Public Properties - Has None
Public Methods - Has None