sprd/view/ImageUploadClass.js
function (e) {
                if (this.$.enabled) {
                    this.removeClass('drag-over');
                    if (e && e.$) {
                        e = e.$;

                        if (e.dataTransfer && e.dataTransfer.files.length) {
                            for (var i = 0; i < e.dataTransfer.files.length; i++) {
                                this._addAndUploadFile(e.dataTransfer.files[i]);
                            }
                        }
                    }
                }
                e.preventDefault();
                e.stopPropagation();

                return false;
            }
function (e) {
                if (this.$.enabled) {
                    this.removeClass('drag-over');
                    if (e && e.$) {
                        e = e.$;

                        if (e.dataTransfer && e.dataTransfer.files.length) {
                            for (var i = 0; i < e.dataTransfer.files.length; i++) {
                                this._addAndUploadFile(e.dataTransfer.files[i]);
                            }
                        }
                    }
                }
                e.preventDefault();
                e.stopPropagation();

                return false;
            }
function ( e ) { if ( this . $ . enabled ) { this . removeClass ( 'drag-over' ) ; if ( e && e . $ ) { e = e . $ ; if ( e . dataTransfer && e . dataTransfer . files . length ) { for ( var i = 0 ; i < e . dataTransfer . files . length ; i ++ ) { this . _addAndUploadFile ( e . dataTransfer . files [ i ] ) ; } } } } e . preventDefault ( ) ; e . stopPropagation ( ) ; return false ; }
An image has been dropped into the design window.

@param {Event} e
@returns {boolean}
An image has been dropped into the design window .