Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update details and summary post #436

Merged
merged 1 commit into from
Feb 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions posts/details.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
feature: <details>
feature: &lt;details> & &lt;summary>
status: use
tags: polyfill
kind: html
polyfillurls: [Details](http://mathiasbynens.be/notes/html5-details-jquery), [jquery-details](https://github.com/mathiasbynens/jquery-details)
moreurl: https://css-tricks.com/quick-reminder-that-details-summary-is-the-easiest-way-ever-to-make-an-accordion/
polyfillurls: [`<details>` polyfill](https://github.com/javan/details-element-polyfill)

Use the details element if you intend to show a summary which, when clicked, reveals detailed information. Without any fallback, non-supporting browsers will fall back to displaying the element in the opened state.
Use the `<details>` (and optionally the `<summary>`) element if you intend to show a summary which, when clicked, reveals detailed information. Currently not supported in any version of [Internet Explorer or Edge](https://caniuse.com/#feat=details).

Without polyfill, non-supporting browsers will fall back to displaying the element in the opened state.