Function sauron_core::html::comment
source · pub fn comment<S, MSG>(s: S) -> Node<MSG>where
S: ToString,
Expand description
create a comment node
Example
use sauron::{*, html::*};
let node: Node<()> = comment("This is a comment");