prop-detect

1.1.0 • Public • Published

prop-detect

Build Status

Detect animation properties, it's annoying to install each of them. 😃

Install

npm i prop-detect -S

Usage

var detect = require('prop-detect')
var transform = detect.transform
var transition = detect.transition
var touchAction = detect.touchAction
var transitionend = detect.transitionend
var has3d = detect.has3d // true or false

API

  • transform style name
  • transition style name
  • touchAction style name
  • transitionend event name
  • has3d true of false

Package Sidebar

Install

npm i prop-detect

Weekly Downloads

100

Version

1.1.0

License

MIT

Last publish

Collaborators

  • chemzqm