{"id":22176914,"url":"https://github.com/br0ken-/jtap","last_synced_at":"2025-10-16T19:20:49.703Z","repository":{"id":10185490,"uuid":"12273568","full_name":"BR0kEN-/jTap","owner":"BR0kEN-","description":"Tap Event for jQuery","archived":false,"fork":false,"pushed_at":"2019-02-17T16:38:52.000Z","size":87,"stargazers_count":63,"open_issues_count":1,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-01T12:50:28.930Z","etag":null,"topics":["handler","javascript","jquery","jquery-plugin","mobile-web","tap","tap-event"],"latest_commit_sha":null,"homepage":"http://BR0kEN-.github.io/jTap/demo","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"soruly/awesome-acg","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BR0kEN-.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-21T15:20:51.000Z","updated_at":"2024-03-29T04:10:50.000Z","dependencies_parsed_at":"2022-08-31T01:22:45.316Z","dependency_job_id":null,"html_url":"https://github.com/BR0kEN-/jTap","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BR0kEN-%2FjTap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BR0kEN-%2FjTap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BR0kEN-%2FjTap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BR0kEN-%2FjTap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BR0kEN-","download_url":"https://codeload.github.com/BR0kEN-/jTap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227693264,"owners_count":17805291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["handler","javascript","jquery","jquery-plugin","mobile-web","tap","tap-event"],"created_at":"2024-12-02T08:21:27.262Z","updated_at":"2025-10-16T19:20:44.670Z","avatar_url":"https://github.com/BR0kEN-.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jTap\n\nAdditional event for jQuery processing touching to screen on touch devices.\n\nThose who are faced with adaptation of web-based applications for mobile devices knows that the event \"click\" is triggered with a delay of 300ms, observe which not very pleasant. In addition, click on non-delegated place of document will not work. To solve these problems and was designed by **jQuery Tap Event**.\n\n## Usage\n\nInclude the plugin file on the page:\n\n```html\n\u003cscript src=\"jquery.tap.js\"\u003e\u003c/script\u003e\n```\n\nand set an event handler as follows:\n\n```javascript\n$('selector').on('tap', handler);\n```\n\n## Notes\n\n- A noteworthy feature of plugin is a versatility. No matter where you use the `tap` event: on a device with a touch screen or on a desktop computer - the handler will be executed disparately.\n\n- Triggering a click manually (e.g. `$('.selector').trigger('click')`) does not trigger a tap. Likewise, triggering a tap does not trigger a click. Adapt your code to match the event expected.\n\n## Changelog\n\n**Version [0.3.2](https://github.com/BR0kEN-/jTap/tree/v0.3.2)**, February 17, 2019:\n- allow movement in a square of `10px`;\n- add the note about `.trigger('click')`.\n\n**Version [0.3.1](https://github.com/BR0kEN-/jTap/tree/v0.3.1)**, February 7, 2016:\n- fixed an issue when `mousedown` and `mouseup` events is triggering on mobile devices;\n- plugin is available as NPM package now.\n\n**Version [0.3.0](https://github.com/BR0kEN-/jTap/tree/v0.3.0)**, January 31, 2016:\n- fixed an [issue #1](https://github.com/BR0kEN-/jTap/issues/1): redesigned `preventDefault` handling.\n\n**Version [0.2.9](https://github.com/BR0kEN-/jTap/tree/v0.2.9)**, June 2, 2014:\n- fixed an [issue #2](https://github.com/BR0kEN-/jTap/issues/2): undelegate event works incorrect.\n\n**Version [0.2.8](https://github.com/BR0kEN-/jTap/tree/v0.2.8)**, May 27, 2014:\n- was removed the checking of \"ontouchstart\" in document, because newest versions of browsers contains this property in document for any format of the computer;\n- the library was oriented for jQuery 1.6 or higher.\n\n**Version [0.2.7](https://github.com/BR0kEN-/jTap/tree/v0.2.7)**, March 17, 2014:\n- added support of jQuery \u003e= 1.4.x\n\n**Version [0.2.6](https://github.com/BR0kEN-/jTap/tree/v0.2.6)**, March 14, 2014:\n- made the code refactoring;\n- updated the license and demonstration.\n\n**Version [0.2.5](https://github.com/BR0kEN-/jTap/tree/v0.2.5)**, November 17, 2013:\n- fixed an [issue #1](https://github.com/BR0kEN-/jTap/issues/1): method `preventDefault` doesn't worked, because the tap event constructed by mousedown/mouseup or touchstart/touchend events and they can not to be prevented.\n\n**Version [0.2.4](https://github.com/BR0kEN-/jTap/tree/v0.2.4)**, August 22, 2013:\n- first public version.\n\n## Thank you\n\n- [@asakasinsky](https://github.com/asakasinsky), for the [bug report #1](https://github.com/BR0kEN-/jTap/issues/1) - *November 17, 2013*.\n- [@egorogl](https://github.com/egorogl), for the [bug report #2](https://github.com/BR0kEN-/jTap/issues/2) - *May 29, 2014*.\n- [@manchunw](https://github.com/manchunw), for the [bug report #1](https://github.com/BR0kEN-/jTap/issues/1) - *January 31, 2016*.\n- [@commonpike](https://github.com/commonpike), for the issues [#7](https://github.com/BR0kEN-/jTap/issues/7) and [#8](https://github.com/BR0kEN-/jTap/issues/8) - *February 17, 2019*.\n\n## Licence\n\n**jTap** is licensed under the [MIT license](http://opensource.org/licenses/mit-license.html).\n\n## Links\n\n- **Demonstration:** http://BR0kEN-.github.io/jTap/demo\n- **Plugin page:** http://plugins.jquery.com/jTap\n- **Presentational publication (ru):** http://habrahabr.ru/post/191078\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbr0ken-%2Fjtap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbr0ken-%2Fjtap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbr0ken-%2Fjtap/lists"}