MCPcopy Index your code
hub / github.com/microsoft/SandDance / prefixKey

Function prefixKey

docs/external/js/react-dom.development.js:4504–4506  ·  view source on GitHub ↗

* @param {string} prefix vendor-specific prefix, eg: Webkit * @param {string} key style name, eg: transitionDuration * @return {string} style name prefixed with `prefix`, properly camelCased, eg: * WebkitTransitionDuration

(prefix, key)

Source from the content-addressed store, hash-verified

4502 */
4503
4504 function prefixKey(prefix, key) {
4505 return prefix + key.charAt(0).toUpperCase() + key.substring(1);
4506 }
4507 /**
4508 * Support style names that may come passed in prefixed by adding permutations
4509 * of vendor prefixes.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected