# which-transition-end-event

> returns the browser transition end event name and caches it for future use

Latest version **0.1.0** (published 2016-12-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install which-transition-end-event
pnpm add which-transition-end-event
yarn add which-transition-end-event
bun add which-transition-end-event
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-12-05 |
| First published | 2016-12-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | dan entous |
| Maintainers | dentous |
| Keywords | transition, transitionend |

## Links

- npm: https://www.npmjs.com/package/which-transition-end-event
- Repository: https://github.com/dan-nl/which-transition-end-event
- Homepage: https://github.com/dan-nl/which-transition-end-event#readme
- Issues: https://github.com/dan-nl/which-transition-end-event/issues
- npm.io page: https://npm.io/package/which-transition-end-event

## Recent versions

- 0.1.0 (latest) — 2016-12-05

## README

# which-transition-end-event
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][david-dm-image]][david-dm-url] [![Dev Dependency Status][david-dm-dev-image]][david-dm-dev-url] [![NSP Status][nsp-image]][nsp-url]

returns the browser transition end event name and caches it for future use

## table of contents
* [installation](#installation)
* [usage](#usage)
  * [default](#default)
  * [clear cache](#clear-cache)
* [license](#license)

## installation
```javascript
npm install dan-nl/which-transition-end-event
```

## usage
### default
```javascript
var whichTransitionEndEvent = require( 'which-transition-end-event' );
var elm = document.getElementById( 'my-elm' );

function eventHandler( evt ) {
  console.log( evt );
}

elm.addEventListener( whichTransitionEndEvent(), eventHandler );
```

### clear cache
```javascript
var whichTransitionEndEvent = require( 'which-transition-end-event' );
var elm = document.getElementById( 'my-elm' );

function eventHandler( evt ) {
  console.log( evt );
}

elm.addEventListener( whichTransitionEndEvent( true ), eventHandler );
```

## license
[MIT License][mit-license]

[coveralls-image]: https://coveralls.io/repos/github/dan-nl/which-transition-end-event/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/dan-nl/which-transition-end-event?branch=master
[david-dm-image]: https://david-dm.org/dan-nl/which-transition-end-event.svg
[david-dm-url]: https://david-dm.org/dan-nl/which-transition-end-event
[david-dm-dev-image]: https://david-dm.org/dan-nl/which-transition-end-event/dev-status.svg
[david-dm-dev-url]: https://david-dm.org/dan-nl/which-transition-end-event?type=dev
[mit-license]: https://raw.githubusercontent.com/dan-nl/which-transition-end-event/master/license.txt
[npm-image]: https://img.shields.io/npm/v/which-transition-end-event.svg
[npm-url]: https://www.npmjs.com/package/which-transition-end-event
[nsp-image]: https://nodesecurity.io/orgs/githubdan-nl/projects/8e6a0633-11dd-4713-ad9f-a6f11a281993/badge
[nsp-url]: https://nodesecurity.io/orgs/githubdan-nl/projects/8e6a0633-11dd-4713-ad9f-a6f11a281993
[travis-image]: https://travis-ci.org/dan-nl/which-transition-end-event.svg?branch=master
[travis-url]: https://travis-ci.org/dan-nl/which-transition-end-event

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