prop-detect
detect the properties in one lib
Last updated 4 years ago by chemzqm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install prop-detect 
SYNC missed versions from official npm registry.

prop-detect

Build Status

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

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

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

4 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 38
Last Day 0
Last Week 17
Last Month 88
Dependencies (3)
Dev Dependencies (10)

Copyright 2014 - 2016 © taobao.org |