HTMLDetailsElement: open プロパティ

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

openHTMLDetailsElement インターフェイスのプロパティで、HTML の open 属性を反映するもので、<details> の中身(<summary> を除く)がユーザーに表示されているかを示す論理値です。

論理値です。

この論理値は HTML の open 属性の状態を表します。true の値は、概要と追加情報の両方がユーザーに示されている状態で設定されていることを意味します。false の値は設定されていないことを意味し、概要のみが表示されます。

仕様書

Specification
HTML
# dom-details-open

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
open

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

関連情報