src/aria/utils/dragdrop/Drag.js
function (logError) {
                var element = this.element;

                if (!element) {
                    element = ariaUtilsDom.getElementById(this.id);
                    if (!element) {
                        if (logError === true) {
                            this.$logError(this.INVALID_ATTRIBUTE, ["id", "constructor"]);
                        }
                        return;
                    }

                    this.element = element;
                }
                return element;
            }
function (logError) {
                var element = this.element;

                if (!element) {
                    element = ariaUtilsDom.getElementById(this.id);
                    if (!element) {
                        if (logError === true) {
                            this.$logError(this.INVALID_ATTRIBUTE, ["id", "constructor"]);
                        }
                        return;
                    }

                    this.element = element;
                }
                return element;
            }
function ( logError ) { var element = this . element ; if ( ! element ) { element = ariaUtilsDom . getElementById ( this . id ) ; if ( ! element ) { if ( logError === true ) { this . $logError ( this . INVALID_ATTRIBUTE , [ "id" , "constructor" ] ) ; } return ; } this . element = element ; } return element ; }
Get the draggable element. This is the element that should be moved when drag ends.
@param {Boolean} logError Whether an error should be logged when the element is not found
@return {HTMLElement}
Get the draggable element . This is the element that should be moved when drag ends .