Skip to content

Instantly share code, notes, and snippets.

@jtaby
Created August 4, 2011 00:39
Show Gist options
  • Save jtaby/1124251 to your computer and use it in GitHub Desktop.
Save jtaby/1124251 to your computer and use it in GitHub Desktop.
touchEvent = jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [
{
identifier: 0,
pageX: 0,
pageY: 10
},
{
identifier: 1,
pageX: 0,
pageY: 10
}
]
};
$('#nested-div').trigger(touchEvent);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment