# touche
**Repository Path**: mirrors_singod/touche
## Basic Information
- **Project Name**: touche
- **Description**: Effortlessly re-map click events to touch events on touchscreen UIs
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-25
- **Last Updated**: 2026-05-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Touche.js
======
## Effortlessly re-map click events to touch events on touchscreen UIs
[Full docs →](http://benhowdle.im/touche)
- Removes the 300ms delay (after the user lifts their finger), applied by all touchscreens devices and immediately invokes your click handlers.
- Takes your click events applied with jQuery and silently re-maps them to the "touchend" event for devices that support touch.
- If you're not using jQuery, then Touche exposes a method "on" for your use like so:
Touche(NodeList/Node).on('click', function(){ // handler })
### Usage
### Examples
// applying a click event to one element
Touche(document.querySelector('#myButton')).on('click', handleClick);
// or to multiple at once
Touche(document.querySelectorAll('.myButtons')).on('click', handleClicks);
// or with jQuery
$('.myButtons').on('click', handleClicks);