get the prefixed (ms, webkit, etc) style property (transition, transform) or undefined if not supported
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
example.html
index.js

Readme.md

prefixed-style

retrieve the prefixed style name for the current browser, or undefined if not supported.

Installation

$ component install bmcmahen/prefixed-style

API

var property = require('bmcmahen-prefixed-style');
console.log(property('transition'));
// returns undefined if not supported, or supported style name

Credits

http://stackoverflow.com/a/13081497/1198166

License

MIT