src/basis/dom/wrapper.js
function(disabled){
      disabled = !!resolveValue(this, this.setDisabled, disabled, 'disabledRA_');

      if (this.disabled !== disabled)
      {
        this.disabled = disabled;

        if (!this.contextDisabled)
          if (disabled)
            this.emit_disable();
          else
            this.emit_enable();

        return true;
      }

      return false;
    }
function(disabled){
      disabled = !!resolveValue(this, this.setDisabled, disabled, 'disabledRA_');

      if (this.disabled !== disabled)
      {
        this.disabled = disabled;

        if (!this.contextDisabled)
          if (disabled)
            this.emit_disable();
          else
            this.emit_enable();

        return true;
      }

      return false;
    }
function ( disabled ) { disabled = ! ! resolveValue ( this , this . setDisabled , disabled , 'disabledRA_' ) ; if ( this . disabled !== disabled ) { this . disabled = disabled ; if ( ! this . contextDisabled ) if ( disabled ) this . emit_disable ( ) ; else this . emit_enable ( ) ; return true ; } return false ; }
Set new value for disabled property.
@param {boolean} disabled Should be node disabled or not.
@return {boolean} Returns true if disabled property was changed.
Set new value for disabled property .