Dieser Inhalt wurde automatisch aus dem Englischen übersetzt, und kann Fehler enthalten. Erfahre mehr über dieses Experiment.

View in English Always switch to English

DocumentFragment: DocumentFragment() Konstruktor

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨April 2018⁩.

Der DocumentFragment() Konstruktor gibt ein neues, leeres DocumentFragment-Objekt zurück.

Syntax

js
new DocumentFragment()

Parameter

Keine.

Rückgabewert

Ein neues DocumentFragment-Objekt.

Spezifikationen

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

Browser-Kompatibilität