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
andelement.open = false
- Toggling with
element.setAttribute("open", "")
andelement.removeAttribute("open")
- Toggling with enter and space
- Dispatching the
toggle
event - Focus support
Install
- Download ↝ details-element-polyfill.js
- npm ↝ details-element-polyfill