Function sauron_core::html::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([],[])]);