prefix dom style
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.
test
.gitignore
.gitmodules
History.md
Makefile
Readme.md
component.json
index.js

Readme.md

prefix

get style prefixed name

Installation

$ component install pgherveou/prefix

API

var prefix = require('prefix');
prefix('transform'); // return prefixed style eg: webkitTransform
prefix('transform', true); // return prefixed dasherized style eg -webkit-transform

License

MIT