dasherize :: String |
Example
'border_bottom_width'.dasherize(); // -> 'border-bottom-width'
Note
Used in conjunction with underscore(), dasherize() converts a DOM style into its CSS equivalent.
'borderBottomWidth'.underscore().dasherize(); // -> 'border-bottom-width' |
Prototype API 1.5.0 - prototypejs.org