CommentNode
Comment node — used as a slot anchor (start/end markers) bracketing dynamic regions. Solid uses the same pattern.
Members
Section titled “Members”Extends AlloyNode
| constructor | (data: string) | Constructs a new instance of the CommentNode class |
| protected cloneShallow | () => CommentNode | |
| data | string | |
| isEmpty | boolean | Comments don’t contribute output, always empty. |
| nodeType | 8 |