The HTMLDetailsElement
interface provides special properties (beyond the regular HTMLElement
interface it also has available to it by inheritance) for manipulating <details>
elements.
Inherits properties from its parent, HTMLElement
.
HTMLDetailsElement.open
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.No specific method; inherits methods from its parent, HTMLElement
.
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 | ? | ? | ? | ? | ? | ? |
<details>
.
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement