HTMLDetailsElement

The HTMLDetailsElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <details> elements.

Properties

Inherits properties from its parent, HTMLElement.

HTMLDetailsElement.open
Is a boolean reflecting the open HTML attribute, indicating whether or not the element’s contents (not counting the <summary>) is to be shown to the user.

Methods

No specific method; inherits methods from its parent, HTMLElement.

Specifications

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? ? ? ? ? ?

See also

  • The HTML element implementing this interface: <details>.

Document Tags and Contributors

Tags: 
 Contributors to this page: rileym7, chharvey
 Last updated by: rileym7,