2.4.0 • Published 5 years ago

details-element-polyfill v2.4.0

Weekly downloads
333,448
License
MIT
Repository
github
Last release
5 years ago

HTML <details> Element Polyfill

  • 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

CI Status

Licensed under the MIT License

© 2019 Javan Makhmali