resize-proxy.js revision c2583e29c5d373dee2f61116b0a2593ea6fbe66f
var ACTIVE_HANDLE_NODE = 'activeHandleNode',
CURSOR = 'cursor',
DRAG_CURSOR = 'dragCursor',
HOST = 'host',
PARENT_NODE = 'parentNode',
PROXY = 'proxy',
PROXY_NODE = 'proxyNode',
RESIZE = 'resize',
RESIZE_PROXY = 'resize-proxy',
WRAPPER = 'wrapper',
function ResizeProxy() {
}
Y.mix(ResizeProxy, {
ATTRS: {
/**
* The Resize proxy element.
*
* @attribute proxyNode
* @default Generated using an internal HTML markup
* @type String | Node
*/
proxyNode: {
valueFn: function() {
}
}
}
});
/**
* Template used to create the resize proxy.
*
* @property PROXY_TEMPLATE
* @type {String}
*/
initializer: function() {
var instance = this;
},
_afterHostResizeEnd: function(event) {
var instance = this,
// reseting actXY from drag when drag end
// if proxy is true, hide it on resize end
},
_afterResizeStart: function(event) {
var instance = this;
},
_beforeHostResize: function(event) {
var instance = this,
// if proxy is true _syncProxyUI instead of _syncUI
},
/**
* Render the <a href="ResizeProxy.html#config_proxyNode">proxyNode</a> element and
* make it sibling of the <a href="Resize.html#config_node">node</a>.
*
* @method _renderProxy
* @protected
*/
_renderProxy: function() {
var instance = this,
);
}
},
/**
* Sync the proxy UI with internal values from
* <a href="ResizeProxy.html#property_info">info</a>.
*
* @method _syncProxyUI
* @protected
*/
_syncProxyUI: function() {
var instance = this,
}
});
Y.namespace('Plugin');