Both HTML5 data attributes and css properties use camel casing, however,
there
aren't native functions to perform these, thus libraries like jQuery have
their own implementations
Both HTML5 data attributes and css properties use camel casing, however,
there
aren't native functions to perform these, thus libraries like jQuery have
their own implementations
The camel casing spec is documented here
https://html.spec.whatwg.org/multipage/dom.html#dom-dataset
Iniital discussion was started here
https://twitter.com/zackster/status/814697677661184000
--
Zac Spitzer
+61 405 847 168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170405/98d5eda9/attachment.html>
Both HTML5 data attributes and css properties use camel casing, however, there aren't native functions to perform these, thus libraries like jQuery have their own implementations
The camel casing spec is documented here html.spec.whatwg.org/multipage/dom.html#dom-dataset
Iniital discussion was started here twitter.com/zackster/status/814697677661184000