src/aria/utils/resize/Resize.js
function () {
            var element = this.getElement();
            var document = Aria.$window.document;
            document.onselectstart = Aria.returnTrue;
            element.onselectstart = Aria.returnTrue;

            if (this.proxy && this.proxy.overlay) {
                element.style.top = (this._elementInitialPosition.top + this._movableGeometry.y - this._movableInitialGeometry.y)
                        + "px";
                element.style.left = (this._elementInitialPosition.left + this._movableGeometry.x - this._movableInitialGeometry.x)
                        + "px";

                element.style.height = (this._elementInitialPosition.height + this._movableGeometry.height - this._movableInitialGeometry.height)
                        + "px";
                element.style.width = (this._elementInitialPosition.width + this._movableGeometry.width - this._movableInitialGeometry.width)
                        + "px";
                this.proxy.$dispose();
                this.proxy = null;
            }
            this.$raiseEvent("resizeend");
        }
function () {
            var element = this.getElement();
            var document = Aria.$window.document;
            document.onselectstart = Aria.returnTrue;
            element.onselectstart = Aria.returnTrue;

            if (this.proxy && this.proxy.overlay) {
                element.style.top = (this._elementInitialPosition.top + this._movableGeometry.y - this._movableInitialGeometry.y)
                        + "px";
                element.style.left = (this._elementInitialPosition.left + this._movableGeometry.x - this._movableInitialGeometry.x)
                        + "px";

                element.style.height = (this._elementInitialPosition.height + this._movableGeometry.height - this._movableInitialGeometry.height)
                        + "px";
                element.style.width = (this._elementInitialPosition.width + this._movableGeometry.width - this._movableInitialGeometry.width)
                        + "px";
                this.proxy.$dispose();
                this.proxy = null;
            }
            this.$raiseEvent("resizeend");
        }
function ( ) { var element = this . getElement ( ) ; var document = Aria . $window . document ; document . onselectstart = Aria . returnTrue ; element . onselectstart = Aria . returnTrue ; if ( this . proxy && this . proxy . overlay ) { element . style . top = ( this . _elementInitialPosition . top + this . _movableGeometry . y - this . _movableInitialGeometry . y ) + "px" ; element . style . left = ( this . _elementInitialPosition . left + this . _movableGeometry . x - this . _movableInitialGeometry . x ) + "px" ; element . style . height = ( this . _elementInitialPosition . height + this . _movableGeometry . height - this . _movableInitialGeometry . height ) + "px" ; element . style . width = ( this . _elementInitialPosition . width + this . _movableGeometry . width - this . _movableInitialGeometry . width ) + "px" ; this . proxy . $dispose ( ) ; this . proxy = null ; } this . $raiseEvent ( "resizeend" ) ; }
Handle the resize end. Apply the correct positioning to the height and width to the resizable element
Handle the resize end . Apply the correct positioning to the height and width to the resizable element