Capítulo 133 de 411
checkPrefix() returns the correctly browser-prefixed version of a CSS property name, or the original if no prefix is needed, or undefined if the property doesn't exist at all.
| Parameter | Type | Description |
|---|---|---|
property | String | property name to check, e.g. "filter" |
Returns: String.
gsap.utils.checkPrefix("filter"); // "filter", "WebkitFilter", or "MozFilter" depending on the browser