The part's trailing marker node, if any. See .parentNode
for more
information.
The parent node into which the part renders its content.
A ChildPart's content consists of a range of adjacent child nodes of
.parentNode
, possibly bordered by 'marker nodes' (.startNode
and
.endNode
).
If both .startNode
and .endNode
are non-null, then the part's content
consists of all siblings between .startNode
and .endNode
, exclusively.
If .startNode
is non-null but .endNode
is null, then the part's
content consists of all siblings following .startNode
, up to and
including the last child of .parentNode
. If .endNode
is non-null, then
.startNode
will always be non-null.
If both .endNode
and .startNode
are null, then the part's content
consists of all child nodes of .parentNode
.
The part's leading marker node, if any. See .parentNode
for more
information.
Optional
directiveParent: DirectiveParentSets the connection state for AsyncDirective
s contained within this root
ChildPart.
lit-html does not automatically monitor the connectedness of DOM rendered;
as such, it is the responsibility of the caller to render
to ensure that
part.setConnected(false)
is called before the part object is potentially
discarded, to ensure that AsyncDirective
s have a chance to dispose of
any resources being held. If a RootPart
that was previously
disconnected is subsequently re-connected (and its AsyncDirective
s should
re-connect), setConnected(true)
should be called.
Whether directives within this tree should be connected or not
A top-level
ChildPart
returned fromrender
that manages the connected state ofAsyncDirective
s created throughout the tree below it.