jam-cloud/jam-ui/node_modules/css-vendor
Nuwan 23d1ece36d fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
..
dist fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
lib fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
tests fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
.babelrc fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
.env fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
.eslintrc fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
.npmignore fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
.travis.yml fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
LICENSE fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
browsers.json fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
changelog.md fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
karma.conf.js fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
package.json fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
readme.md fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
tests.html fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
tests.webpack.js fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30
webpack.config.js fixing controller tests after upgradeing to rails5 2022-02-15 16:27:07 +05:30

readme.md

Build Status

CSS vendor prefix detection and property feature testing.

Vendor prefixes

console.log(cssVendor.prefix.js) // e.g. WebkitTransform

console.log(cssVendor.prefix.css) // e.g. -webkit-transform

Property support feature test

cssVendor.supportedProperty(prop)

Test if property is supported, returns false if not. Returns string if supported. May add a vendor prefix if needed.

console.log(cssVendor.supportedProperty('animation')) // e.g. -webkit-animation

Value support feature test

cssVendor.supportedValue(prop, value)

Test if value is supported, returns false if not. Returns string if supported. May add a vendor prefix if needed.

console.log(cssVendor.supportedValue('display', 'flex')) // e.g. -webkit-flex

Run tests

npm i
npm test

License

MIT