str.toDatasetPropName()

convert (kebab-cased) "data-xxx" attribute name to (camel-cased) `dataset` property name.

Last updated

Was this helpful?