jquery-ui/tests/unit/resizable/resizable_common.js
Alexander Schmitz 2665aa0146 Resizable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:56 -04:00

34 lines
625 B
JavaScript

TestHelpers.commonWidgetTests( "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
}
});