Comment dom node. This comment can not be fetched by id and will not be rendered
This node is used inside a dom to display a comment. Supported fields of this node are:
- inner: The id of this node
Within the layouter this data can be used like this:
<!-- This is a comment -->
Methods
Protocols
protocol get inner
let output = value.inner
Get the comment as text.
Example
let node = new;
node.inner = "This is a comment";
assert_eq!;
protocol set inner
value.inner = input
Set the comment as text.
Example
let node = new;
node.inner = "This is a comment";
assert_eq!;