0.0.1 • Published 8 years ago

details-summary v0.0.1

Weekly downloads
4
License
MIT
Repository
gitlab
Last release
8 years ago

details-summary

Simple jQuery based polyfill for HTML5 details-summary element

Usage

Using browserify, just require it

require('details-summary')

Notes

Works using event delegation which means the details/summary elements do not have to be present at page load. Dynamically added details/summary elements will also work. Adds aria-expanded/aria-hidden accessibility attributes.