2.4.2 • Published 4 years ago
details-element-polyfill-nijk v2.4.2
HTML <details>
Element Polyfill
- Toggling on click
- Toggling with
element.open = true
andelement.open = false
- Toggling with
element.setAttribute("open", "")
andelement.removeAttribute("open")
- Toggling with enter and space
- Dispatching the
toggle
event - Focus support
- Download ↝ details-element-polyfill.js
- npm ↝ details-element-polyfill
Licensed under the MIT License
© 2019 Javan Makhmali