replace
Replaces oldElements
with newFrag
elements.replace(oldElements, newFrag)
Replaces oldElements
with newFrag
Parameters
-
oldElements
{Array<HTMLElement>}
-
newFrag
{DocumentFragment}
Replaces oldElements
with newFrag
Replaces oldElements
with newFrag
{Array<HTMLElement>}
{DocumentFragment}