lib/Ext/dom/Element.style.js
function(className) {
        //<debug warn>
        Ext.Logger.deprecate("Ext.dom.Element.radioCls() is deprecated", this);
        //</debug>

        var cn = this.dom.parentNode.childNodes,
            v;
        className = Ext.isArray(className) ? className : [className];
        for (var i = 0, len = cn.length; i < len; i++) {
            v = cn[i];
            if (v && v.nodeType == 1) {
                Ext.fly(v, '_internal').removeCls(className);
            }
        }
        return this.addCls(className);
    }
function(className) {
        //<debug warn>
        Ext.Logger.deprecate("Ext.dom.Element.radioCls() is deprecated", this);
        //</debug>

        var cn = this.dom.parentNode.childNodes,
            v;
        className = Ext.isArray(className) ? className : [className];
        for (var i = 0, len = cn.length; i < len; i++) {
            v = cn[i];
            if (v && v.nodeType == 1) {
                Ext.fly(v, '_internal').removeCls(className);
            }
        }
        return this.addCls(className);
    }
function ( className ) { //<debug warn> Ext . Logger . deprecate ( "Ext.dom.Element.radioCls() is deprecated" , this ) ; //</debug> var cn = this . dom . parentNode . childNodes , v ; className = Ext . isArray ( className ) ? className : [ className ] ; for ( var i = 0 , len = cn . length ; i < len ; i ++ ) { v = cn [ i ] ; if ( v && v . nodeType == 1 ) { Ext . fly ( v , '_internal' ) . removeCls ( className ) ; } } return this . addCls ( className ) ; }
Adds one or more CSS classes to this element and removes the same class(es) from all siblings.
@deprecated 2.0.0
@param {String/String[]} className The CSS class to add, or an array of classes.
@return {Ext.dom.Element} this
Adds one or more CSS classes to this element and removes the same class ( es ) from all siblings .