public/javascripts/yui/element/element.js
function(key, map) {
        var el = this.get('element');
        map = map || {};
        map.name = key;

        map.setter = map.setter || this.DEFAULT_HTML_SETTER;
        map.getter = map.getter || this.DEFAULT_HTML_GETTER;

        map.value = map.value || el[key];
        this._configs[key] = new YAHOO.util.Attribute(map, this);
    }
function(key, map) {
        var el = this.get('element');
        map = map || {};
        map.name = key;

        map.setter = map.setter || this.DEFAULT_HTML_SETTER;
        map.getter = map.getter || this.DEFAULT_HTML_GETTER;

        map.value = map.value || el[key];
        this._configs[key] = new YAHOO.util.Attribute(map, this);
    }
function ( key , map ) { var el = this . get ( 'element' ) ; map = map || { } ; map . name = key ; map . setter = map . setter || this . DEFAULT_HTML_SETTER ; map . getter = map . getter || this . DEFAULT_HTML_GETTER ; map . value = map . value || el [ key ] ; this . _configs [ key ] = new YAHOO . util . Attribute ( map , this ) ; }
Sets the value of the property and fires beforeChange and change events.
@private
@method _setHTMLAttrConfig
@param {YAHOO.util.Element} element The Element instance to
register the config to.
@param {String} key The name of the config to register
@param {Object} map A key-value map of the config's params
Sets the value of the property and fires beforeChange and change events .