DocumentFragment()
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since avril 2018.
Expérimental: Il s'agit d'une technologie expérimentale.
Vérifiez attentivement le tableau de compatibilité des navigateurs avant de l'utiliser en production.
Le constructeur DocumentFragment()
renvoie un nouvel objet DocumentFragment
créé vide.
Syntaxe
js
fragment = new DocumentFragment();
Exemple
js
fragment = new DocumentFragment();
Spécifications
Specification |
---|
DOM> # ref-for-dom-documentfragment-documentfragment①> |
Compatibilité des navigateurs
Loading…