Function sauron::prelude::classes [−][src]
pub fn classes<C, V, MSG>(
class_list: C
) -> Attribute<&'static str, &'static str, AttributeValue, Callback<Event, MSG>> where
C: AsRef<[V]>,
V: ToString,
Expand description
a helper function to add multiple classes to a node
ⓘ
div(vec![classes(["dashed", "error"])], vec![])