JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 20182
  • Score
    100M100P100Q208574F
  • License MIT

HTML <details> element polyfill

Package Exports

  • details-element-polyfill

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 (details-element-polyfill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

HTML <details> Element Polyfill

Implemented Features
  • Toggling on click
  • Toggling with element.open = true and element.open = false
  • Toggling with element.setAttribute("open", "") and element.removeAttribute("open")
  • Toggling with enter and space
  • Dispatching the toggle event
  • Focus support
Download
Browser Support

CI Status

Fine Print

Licensed under the MIT License

© 2017 Javan Makhmali