Details/summary polyfill (expandable/collapsible content)
Looking for WET v3.1?
WET v4.0 is now the current version. There is a new location for the current page in WET v3.1.
The HTML5 details
and summary
elements are used to provide expandable/collapsible content. This component adds support for these elements in browsers that do not already have native support.
Examples
Example 1
Example content that provides more details.
Name | Cups | Type of Coffee | Sugar? |
---|---|---|---|
T. Sexton | 10 | Espresso | No |
J. Dinnen | 5 | Decaf | Yes |
Example 2
Example content that provides more details.
Name | Cups | Type of Coffee | Sugar? |
---|---|---|---|
T. Sexton | 10 | Espresso | No |
J. Dinnen | 5 | Decaf | Yes |
Example 3
Example content that provides more details.
Name | Cups | Type of Coffee | Sugar? |
---|---|---|---|
T. Sexton | 10 | Espresso | No |
J. Dinnen | 5 | Decaf | Yes |
- Date modified: