@amendable/inline-style-properties
v0.6.0
Published
## Usage
Downloads
16
Readme
Inline Style Properties
Usage
Check if inline styles has property
import { hasProperty } from '@amendable/inline-style-properties'
hasProperty('MozAnimation') // true
hasProperty('display') // true
hasProperty('test') // false
You can exclude vendor properties by passing includeVendor
option;
hasProperty('MozAnimation', { includeVendor: false }) // false
Get all properties list
import properties from '@amendable/inline-style-properties'
console.log(properties) // ['display', 'MozAnimation', ...]