1 | # prop-detect
|
2 |
|
3 | [![Build Status](https://secure.travis-ci.org/chemzqm/prop-detect.svg)](http://travis-ci.org/chemzqm/prop-detect)
|
4 |
|
5 | Detect animation properties, it's annoying to install each of them.
|
6 | :smiley:
|
7 |
|
8 | ## Install
|
9 |
|
10 | npm i prop-detect -S
|
11 |
|
12 | ## Usage
|
13 |
|
14 | ``` js
|
15 | var detect = require('prop-detect')
|
16 | var transform = detect.transform
|
17 | var transition = detect.transition
|
18 | var touchAction = detect.touchAction
|
19 | var transitionend = detect.transitionend
|
20 | var has3d = detect.has3d // true or false
|
21 | ```
|
22 |
|
23 | ## API
|
24 |
|
25 | * `transform` style name
|
26 | * `transition` style name
|
27 | * `touchAction` style name
|
28 | * `transitionend` event name
|
29 | * `has3d` true of false
|