static/ext/src/dom/Element_fx.js
function(animate){
        var me = this;
        me.setVisible(!me.isVisible(), me.anim(animate));
        return me;
    }
function(animate){
        var me = this;
        me.setVisible(!me.isVisible(), me.anim(animate));
        return me;
    }
function ( animate ) { var me = this ; me . setVisible ( ! me . isVisible ( ) , me . anim ( animate ) ) ; return me ; }
Toggles the element's visibility or display, depending on visibility mode.
@param {Boolean/Object} [animate] True for the default animation, or a standard Element animation config object
@return {Ext.dom.Element} this
Toggles the element s visibility or display depending on visibility mode .