Class: NodePart

elements-sk/styles/buttons~NodePart()

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.

Constructor

new NodePart()

Source:

Methods

appendInto()

Appends this part into a container. This part must be empty, as its contents are not automatically moved.
Source:

appendIntoPart()

Appends this part into a parent part. This part must be empty, as its contents are not automatically moved.
Source:

insertAfterNode()

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.
Source:

insertAfterPart()

Inserts this part after the `ref` part. This part must be empty, as its contents are not automatically moved.
Source: