HTMLDetailsElement
The HTMLDetailsElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <details> elements.
Instance properties
Inherits properties from its parent, HTMLElement.
HTMLDetailsElement.open-
A boolean value reflecting the
openHTML attribute, indicating whether or not the element's contents (not counting the<summary>) is to be shown to the user.
Instance methods
No specific method; inherits methods from its parent, HTMLElement.
Events
Listen to this event using addEventListener() or by assigning an event listener to the oneventname property of this interface.
Specifications
| Specification |
|---|
| HTML Standard # htmldetailselement |
Browser compatibility
BCD tables only load in the browser
See also
- The HTML element implementing this interface:
<details>