mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
bde431bb44
Ref gh-1528
41 lines
689 B
JavaScript
41 lines
689 B
JavaScript
define( [
|
|
"lib/common",
|
|
"ui/resizable"
|
|
], function( common ) {
|
|
|
|
common.testWidget( "resizable", {
|
|
defaults: {
|
|
alsoResize: false,
|
|
animate: false,
|
|
animateDuration: "slow",
|
|
animateEasing: "swing",
|
|
aspectRatio: false,
|
|
autoHide: false,
|
|
cancel: "input, textarea, button, select, option",
|
|
classes: {
|
|
"ui-resizable-se": "ui-icon ui-icon-gripsmall-diagonal-se"
|
|
},
|
|
containment: false,
|
|
delay: 0,
|
|
disabled: false,
|
|
distance: 1,
|
|
ghost: false,
|
|
grid: false,
|
|
handles: "e,s,se",
|
|
helper: false,
|
|
maxHeight: null,
|
|
maxWidth: null,
|
|
minHeight: 10,
|
|
minWidth: 10,
|
|
zIndex: 90,
|
|
|
|
// callbacks
|
|
create: null,
|
|
resize: null,
|
|
start: null,
|
|
stop: null
|
|
}
|
|
});
|
|
|
|
} );
|