(function($) {
$.widget("ui.resizable", $.extend({}, $.ui.mouse, {
- init: function() {
+ _init: function() {
var self = this, o = this.options;
originalPosition: this.originalPosition
};
},
- propagate: function(n,e) {
+ _propagate: function(n,e) {
$.ui.plugin.call(this, n, [e, this.ui()]);
if (n != "resize") this.element.triggerHandler(["resize", n].join(""), [e, this.ui()], this.options[n]);
},
if (o.preserveCursor)
$('body').css('cursor', this.axis + '-resize');
- this.propagate("start", e);
+ this._propagate("start", e);
return true;
},
mouseDrag: function(e) {
data = this._respectSize(data, e);
// plugins callbacks need to be called first
- this.propagate("resize", e);
+ this._propagate("resize", e);
el.css({
top: this.position.top + "px", left: this.position.left + "px",
if (o.preserveCursor)
$('body').css('cursor', 'auto');
- this.propagate("stop", e);
+ this._propagate("stop", e);
if (o.helper) this.helper.remove();
// propagating resize, and updating values for each animation step
self._updateCache(data);
- self.propagate("animate", e);
+ self._propagate("animate", e);
}
}