| 1 | define( [ |
| 2 | "lib/common", |
| 3 | "ui/widgets/resizable" |
| 4 | ], function( common ) { |
| 5 | |
| 6 | common.testWidget( "resizable", { |
| 7 | defaults: { |
| 8 | alsoResize: false, |
| 9 | animate: false, |
| 10 | animateDuration: "slow", |
| 11 | animateEasing: "swing", |
| 12 | aspectRatio: false, |
| 13 | autoHide: false, |
| 14 | cancel: "input, textarea, button, select, option", |
| 15 | classes: { |
| 16 | "ui-resizable-se": "ui-icon ui-icon-gripsmall-diagonal-se" |
| 17 | }, |
| 18 | containment: false, |
| 19 | delay: 0, |
| 20 | disabled: false, |
| 21 | distance: 1, |
| 22 | ghost: false, |
| 23 | grid: false, |
| 24 | handles: "e,s,se", |
| 25 | helper: false, |
| 26 | maxHeight: null, |
| 27 | maxWidth: null, |
| 28 | minHeight: 10, |
| 29 | minWidth: 10, |
| 30 | zIndex: 90, |
| 31 | |
| 32 | // Callbacks |
| 33 | create: null, |
| 34 | resize: null, |
| 35 | start: null, |
| 36 | stop: null |
| 37 | } |
| 38 | } ); |
| 39 | |
| 40 | } ); |