# eventie

> Event binding helper

Latest version **1.0.6** (published 2015-01-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install eventie
pnpm add eventie
yarn add eventie
bun add eventie
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2015-01-05 |
| First published | 2014-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | David DeSandro |
| Maintainers | desandro |
| Keywords | DOM, event |

## Links

- npm: https://www.npmjs.com/package/eventie
- Repository: https://github.com/desandro/eventie
- Issues: https://github.com/desandro/eventie/issues
- npm.io page: https://npm.io/package/eventie

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2015-01-05
- 1.0.5 — 2014-04-24

## README

# eventie - event binding helper

Makes dealing with events in IE8 bearable. Supported by IE8+ and good browsers.

``` js
var elem = document.querySelector('#my-elem');
function onElemClick( event ) {
  console.log( event.type + ' just happened on #' + event.target.id );
  // -> click just happened on #my-elem
}

eventie.bind( elem, 'click', onElemClick );

eventie.unbind( elem, 'click', onElemClick );
```

## Install

Download [eventie.js](eventie.js)

Install with [Bower :bird:](http://bower.io) `bower install eventie`

Install with npm :truck: `npm install eventie`

Install with [Component :nut_and_bolt:](https://github.com/component/component) `component install desandro/eventie`

## IE 8

eventie add support for `event.target` and [`.handleEvent` method](https://developer.mozilla.org/en-US/docs/DOM/EventListener#handleEvent\(\)) for Internet Explorer 8.

## MIT license

eventie is released under the [MIT license](http://desandro.mit-license.org).

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