enhancement to the _satellite.$data function

davidharris

02-12-2014

Currently it is possible to set and get data values on elements using the _satellite.$data function.

 

As per the HTML5 spec, you can provide data values in the markup by prefixing attributes with "data"

 

eg: link

 

The _satellite.$data does not read these values.

 

Would be great if it does, as we are using values provided this way for various aspects of DTM implementaions

 

The current work round is to use this.getAttribute("data-name")

Comment