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([],[])]);
pub fn fragment<MSG>(nodes: impl IntoIterator<Item = Node<MSG>>) -> Node<MSG>
fragment is a list of nodes
use sauron::{*, html::*};
let node: Node<()> = fragment([div([],[]), span([],[])]);