public/javascripts/yui/element/element.js
function(e) {
            var type = 'before';
            type += e.type.charAt(0).toUpperCase() + e.type.substr(1) + 'Change';
            e.type = type;
            return this.fireEvent(e.type, e);
        }
function(e) {
            var type = 'before';
            type += e.type.charAt(0).toUpperCase() + e.type.substr(1) + 'Change';
            e.type = type;
            return this.fireEvent(e.type, e);
        }
function ( e ) { var type = 'before' ; type += e . type . charAt ( 0 ) . toUpperCase ( ) + e . type . substr ( 1 ) + 'Change' ; e . type = type ; return this . fireEvent ( e . type , e ) ; }
Fires the attribute's beforeChange event.
@method fireBeforeChangeEvent
@param {String} key The attribute's name.
@param {Obj} e The event object to pass to handlers.
Fires the attribute s beforeChange event .