Returns : String
Returns the given property along with a browser prefix if one is necessary.
Give checkPrefix()
any property name and it will return the appropriate, browser-prefixed version (if necessary) of that property. If a prefix is not needed, it will return the property name given. If the property does not exist, it will return undefined
. For example:
//the following may return "filter", "WebkitFilter", or "MozFilter" depending on your browser
var filterProperty = gsap.utils.checkPrefix("filter");