src/aria/html/DisabledTrait.js
function () {
            var bindings = this._cfg.bind;
            var binding = bindings.disabled;
            if (binding) {
                var newValue = this._transform(binding.transform, binding.inside[binding.to], "toWidget");
                if (ariaUtilsType.isBoolean(newValue)) {
                    this._domElt.disabled = newValue;
                } else {
                    ariaUtilsJson.setValue(binding.inside, binding.to, this._domElt.disabled);
                }
            }
        }
function () {
            var bindings = this._cfg.bind;
            var binding = bindings.disabled;
            if (binding) {
                var newValue = this._transform(binding.transform, binding.inside[binding.to], "toWidget");
                if (ariaUtilsType.isBoolean(newValue)) {
                    this._domElt.disabled = newValue;
                } else {
                    ariaUtilsJson.setValue(binding.inside, binding.to, this._domElt.disabled);
                }
            }
        }
function ( ) { var bindings = this . _cfg . bind ; var binding = bindings . disabled ; if ( binding ) { var newValue = this . _transform ( binding . transform , binding . inside [ binding . to ] , "toWidget" ) ; if ( ariaUtilsType . isBoolean ( newValue ) ) { this . _domElt . disabled = newValue ; } else { ariaUtilsJson . setValue ( binding . inside , binding . to , this . _domElt . disabled ) ; } } }
Initialize the disabled attribute of the widget by taking into account the data model to which it might be
bound.
Initialize the disabled attribute of the widget by taking into account the data model to which it might be bound .