Appends this part into a container.
This part must be empty, as its contents are not automatically moved.
Appends this part into a parent part.
This part must be empty, as its contents are not automatically moved.
Inserts this part after the ref
node (between ref
and ref
's next
sibling). Both ref
and its next sibling must be static, unchanging nodes
such as those that appear in a literal section of a template.
This part must be empty, as its contents are not automatically moved.
Inserts this part after the ref
part.
This part must be empty, as its contents are not automatically moved.
Generated using TypeDoc
A Part that controls a location within a Node tree. Like a Range, NodePart has start and end locations and can set and update the Nodes between those locations.
NodeParts support several value types: primitives, Nodes, TemplateResults, as well as arrays and iterables of those types.