# ie-touch

> W3C Touch Events for IE10 and IE11 Mobile

Latest version **0.2.0** (published 2014-08-16) · 0 weekly downloads

## Install

```sh
npm install ie-touch
pnpm add ie-touch
yarn add ie-touch
bun add ie-touch
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2014-08-16 |
| First published | 2014-05-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 29 |
| Author | Andrea Giammarchi |
| Maintainers | webreflection |
| Keywords | event, touch, mobile, IE |

## Links

- npm: https://www.npmjs.com/package/ie-touch
- Repository: https://github.com/WebReflection/ie-touch
- Issues: https://github.com/WebReflection/ie-touch/issues
- npm.io page: https://npm.io/package/ie-touch

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 0.2.0 (latest) — 2014-08-16
- 0.1.2 — 2014-05-07
- 0.1.0 — 2014-05-06

## README

ie-touch
========

W3C Touch Events for IE10 and IE11 Mobile (prior to WP 8.1 Update)

  * [live test here](http://webreflection.github.io/ie-touch/)
  * [multi touch tesla test here](http://webreflection.github.io/ie-touch/tesla/)
  * related [blog post](http://webreflection.blogspot.com/2014/05/touch-events-for-ie-mobile.html) reasoning this polyfill

MIT Style License

### How To

Just include [this file](ie-touch.js) on top of your header, **before every other script** you might have in your page.

Please note this file will not compromise any other browser, including latest IE11, that has native support for Touch Events.


### CSS

In order to disable default OS behaviors on elements, don't forget to add the following: 
```css
.disablePanZoom {
  -ms-touch-action: none;
  touch-action: none;
}
```
and include `disablePanZoom` in the generic element class list.

### JS

In order to avoid text selection (brute force way) you might want to try the following:
```js
element.addEventListener(
  "selectstart",
  function(e) { e.preventDefault(); },
  false
);
```

---
_Source: https://npm.io/package/ie-touch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
