mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
9 lines
246 B
JavaScript
9 lines
246 B
JavaScript
TestHelpers.spinner = {
|
|
simulateKeyDownUp: function( element, keyCode, shift ) {
|
|
element
|
|
.simulate( "keydown", { keyCode: keyCode, shiftKey: shift || false } )
|
|
.simulate( "keyup", { keyCode: keyCode, shiftKey: shift || false } );
|
|
}
|
|
};
|
|
|