2015-04-06 18:33:25 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
|
|
|
"ui/resizable"
|
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "resizable", {
|
2012-04-19 17:03:21 +00:00
|
|
|
defaults: {
|
|
|
|
alsoResize: false,
|
|
|
|
animate: false,
|
2012-12-26 13:08:48 +00:00
|
|
|
animateDuration: "slow",
|
|
|
|
animateEasing: "swing",
|
2012-04-19 17:03:21 +00:00
|
|
|
aspectRatio: false,
|
|
|
|
autoHide: false,
|
2015-03-26 11:41:37 +00:00
|
|
|
cancel: "input, textarea, button, select, option",
|
2015-02-27 23:00:55 +00:00
|
|
|
classes: {
|
|
|
|
"ui-resizable-se": "ui-icon ui-icon-gripsmall-diagonal-se"
|
|
|
|
},
|
2012-04-19 17:03:21 +00:00
|
|
|
containment: false,
|
|
|
|
delay: 0,
|
|
|
|
disabled: false,
|
|
|
|
distance: 1,
|
|
|
|
ghost: false,
|
|
|
|
grid: false,
|
2012-12-26 13:08:48 +00:00
|
|
|
handles: "e,s,se",
|
2012-04-19 17:03:21 +00:00
|
|
|
helper: false,
|
|
|
|
maxHeight: null,
|
|
|
|
maxWidth: null,
|
|
|
|
minHeight: 10,
|
|
|
|
minWidth: 10,
|
2012-11-24 21:23:03 +00:00
|
|
|
zIndex: 90,
|
2012-04-20 15:23:37 +00:00
|
|
|
|
|
|
|
// callbacks
|
2013-01-02 23:27:22 +00:00
|
|
|
create: null,
|
|
|
|
resize: null,
|
|
|
|
start: null,
|
|
|
|
stop: null
|
2012-04-19 17:03:21 +00:00
|
|
|
}
|
|
|
|
});
|
2015-04-06 18:33:25 +00:00
|
|
|
|
|
|
|
} );
|