このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

View in English Always switch to English

DocumentFragment: DocumentFragment() コンストラクター

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2018年4月.

DocumentFragment() コンストラクターは、新しい空の DocumentFragment オブジェクトを返します。

構文

js
new DocumentFragment()

引数

なし。

返値

新しい DocumentFragment オブジェクト。

仕様書

Specification
DOM
# ref-for-dom-documentfragment-documentfragment①

ブラウザーの互換性