大小拖拉

$(function(){
$("#box1").resizable({
// disable: true,
// handles: 'e,s', //n:上 e:右 s:下 w:左 ne,se,sw,nw all 控制可拖动位置
//minWidth:200,// 最小宽度, minHeight maxWidth maxHeight 默认小为10,大卫10000。
//onStartResize: function (e) { console.log("开始调整的时候促发"); }, //开始调整时触发
//onResize: function (e) { console.log("调整中触发!"); },
//onStopResize:function(e){console.log("调整后触发!")},
});
console.log($("#box1").resizable('options')); //查看resizable的所有对象和默认值


});

原文地址:https://www.cnblogs.com/choii/p/5638137.html