Skip to content

CommentNode

Comment node — used as a slot anchor (start/end markers) bracketing dynamic regions. Solid uses the same pattern.

Extends AlloyNode

constructor(data: string)Constructs a new instance of the CommentNode class
protected cloneShallow() => CommentNode
datastring
isEmptybooleanComments don’t contribute output, always empty.
nodeType8