[][src]Function sauron::html::view_if

pub fn view_if<MSG>(flag: bool, node: Node<MSG>) -> Node<MSG>

A help function which render the view when the condition is met, otherwise just display a text("")