mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14: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 } );
|
|
}
|
|
};
|
|
|