2.4.2 • Published 4 years ago

details-element-polyfill-nijk v2.4.2

Weekly downloads
25
License
MIT
Repository
github
Last release
4 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