jquery-ui/tests/unit/spinner/spinner_test_helpers.js

6 lines
227 B
JavaScript
Raw Normal View History

2011-08-06 21:07:12 +00:00
var spinner_simulateKeyDownUp = function( element, keyCode, shift ) {
element
.simulate( "keydown", { keyCode: keyCode, shiftKey: shift || false } )
.simulate( "keyup", { keyCode: keyCode, shiftKey: shift || false } );
};