The AdjacentPosition enum is used to specify
where, relative to the context element, insertion should be performed
using Dom\Element::insertAdjacentElement()
or Dom\Element::insertAdjacentText().
Enum synopsis
enumAdjacentPosition {
caseBeforeBegin
; //
Insert before the context element.
This is only possible if the element is in a document and has a parent.
caseAfterBegin
; //
Insert before the first child of the context element.
caseBeforeEnd
; //
Insert after the last child of the context element.
caseAfterEnd
; //
Insert after the context element.
This is only possible if the element is in a document and has a parent.