DOM
:インターフェイス
:ChildNode インターフェイス mixin
編集:2022.04.04 by T.A.
→●、MS✖
DocumentType includes ChildNode;
Element includes ChildNode;
CharacterData includes ChildNode;
- node . before(...nodes)→●
- nodes 内の各 文字列は等価な Text ノードに置換した上で、nodes を node の直前に挿入する。
ノードツリーの拘束に反する場合、HierarchyRequestError が投出される。
- node . after(...nodes)→●
- nodes 内の各 文字列は等価な Text ノードに置換した上で、nodes を node の直後に挿入する。
ノードツリーの拘束に反する場合、HierarchyRequestError が投出される。
- node . replaceWith(...nodes)→●
- nodes 内の各 文字列は等価な Text ノードに置換した上で、node を nodes に置換する。
ノードツリーの拘束に反する場合、HierarchyRequestError が投出される。
- node . remove()→●
- node を除去する。