Interface Node
A
The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist):
Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.The following all inherit this interface and its methods and properties (though they may return null in particular cases where not relevant; or throw an exception when adding children to a node type for which no children can exist):
Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference
Extends
Subinterfaces
EntityReference, Entity, CharacterData, Element, ProcessingInstruction, Notation
Implemented by
Methods
Code Node insertBefore(Node newChild, Node refChild) #
Node insertBefore(Node newChild, Node refChild);
This page includes content from the
Mozilla Foundation that is graciously
licensed under a
Creative Commons: Attribution-Sharealike license.
Mozilla has no other association with Dart or dartlang.org. We
encourage you to improve the web by
contributing to
The Mozilla Developer Network.