The root node / dom element
This struct contains the children of the single root html element of an exolynk layout.
Methods
Returns the dom as a html string.
Example
let dom = new;
let nl = new;
nl.id = "test";
dom.children = ;
assert!;
Tries to find and returns the node with the given id.
Example
let dom = new;
let nl = new;
nl.id = "test";
dom.children = ;
assert_eq!;
Tries to find and replace the node with the given id.
Example
let dom = new;
let nl = new;
nl.id = "test";
dom.children = ;
dom.set_node_by_id;
assert_eq!;
Protocols
protocol get children
let output = value.children
Get the children.
Example
let node = new;
node.children = ;
assert_eq!;
protocol set children
value.children = input
Set the children.
Example
let node = new;
node.children = ;
assert_eq!;