Class Roo.Fx.switchOff
Package: | Roo.Fx |
Defined In: |
Roo/Fx.js.
|
Class: | switchOff |
Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television).
When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still
take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired.
Usage:
// default
el.switchOff();
// all config options shown with default values
el.switchOff({
easing: 'easeIn',
duration: .3,
remove: false,
useDisplay: false
});
Config Options - Has None
Public Properties - Has None
Public Methods - Has None