feature.js icon indicating copy to clipboard operation
feature.js copied to clipboard

Return boolean & prefix for prefixed properties

Open lukeed opened this issue 9 years ago • 0 comments

3Dtransforms, transforms, and transitions are fetching the vendor-prefixed value anyway... might as well tell the end-user what Feature.js found.

With this change, those 3 features will return an Object of

{
  support: Boolean, 
  property: String || null
}

For the sake of brevity / bytes, these keys could be renamed to use and prop.

lukeed avatar Mar 02 '16 01:03 lukeed