Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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', ...]

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages