jquery-ui/tests/unit/resizable/resizable_test_helpers.js
2015-04-09 09:26:26 -04:00

16 lines
312 B
JavaScript

define( function() {
return {
drag: function( el, dx, dy ) {
// this mouseover is to work around a limitation in resizable
// TODO: fix resizable so handle doesn't require mouseover in order to be used
$( el ).simulate("mouseover").simulate( "drag", {
moves: 2,
dx: dx,
dy: dy
});
}
};
} );