@conglomerate/element-dataset

HTMLElement.dataset polyfill


Keywords
dataset, html, element, html5, HTMLElement.dataset, polyfill
Licenses
MIT/BSD-3-Clause
Install
npm install @conglomerate/element-dataset@1.2.0

Documentation

NPM version Build Status

conglomerate-element-dataset

Polyfills the HTMLElement.dataset property, does not overdrive the prototype with non-standard methods, falls back to native implementation. Tested on IE 8/9/10, Chrome 16+, FireFox 5+.

Thanks

Thanks to Brett Zamir, Elijah Grey

Thanks to Sauce Labs for providing the infrastructure that allows us to run our build in real browsers.

License

conglomerate-element-dataset is released under the terms of the MIT and BSD-3-Clause licenses.

This software includes or is derivative of works distributed under the licenses listed below. Please refer to the specific files and/or packages for more detailed information about the authors, copyright notices, and licenses.

  • Brett Zamir's html5-dataset.js is is released under the terms of the X11/MIT license.
  • Elijah Grey's html5-dataset.js is is released under the terms of the LGPL license.