camelize
camelize() -> string
Converts a string separated by dashes into a camelCase equivalent. For instance, 'foo-bar'
would be converted to 'fooBar'
.
Prototype uses this internally for translating CSS properties into their DOM style
property equivalents.
Examples
'background-color'.camelize();
// -> 'backgroundColor'
'-moz-binding'.camelize();
// -> 'MozBinding'