JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 428
  • Score
    100M100P100Q34923F
  • License BSD-3-Clause

HTMLElement.dataset polyfill

Package Exports

  • element-dataset
  • element-dataset/lib/browser/index.es

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (element-dataset) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

NPM version Build Status

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+.

To start using in your website, download the AMD module.

Or install it as a npm module (supports Webpack and Browserify):

$ npm install --save element-dataset

Thanks

Thanks to Brett Zamir, Elijah Grey

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

License

element-dataset is released under the terms of the BSD-3-Clause license.

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.

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