[][src]Function sauron::prelude::classes

pub fn classes<C, V, MSG>(
    class_list: C
) -> Attribute<&'static str, &'static str, AttributeValue, Event, MSG> where
    C: AsRef<[V]>,
    V: ToString

a helper function to add multiple classes to a node

   div(vec![classes(["dashed", "error"])], vec![])