mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
11 lines
300 B
JavaScript
11 lines
300 B
JavaScript
TestHelpers.resizable = {
|
|
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
|
|
});
|
|
}
|
|
}; |