Function fragment

Source
pub fn fragment<MSG>(nodes: impl IntoIterator<Item = Node<MSG>>) -> Node<MSG>
Expand description

fragment is a list of nodes

ยงExample

use sauron::{*, html::*};

let node: Node<()> = fragment([div([],[]), span([],[])]);