[−][src]Function sauron::prelude::html::attributes::classes_flag
pub fn classes_flag<P, MSG>(
pair: P
) -> Attribute<&'static str, &'static str, AttributeValue, Event, MSG> where
P: AsRef<[(&'static str, bool)]>,
ⓘThis example is not tested
classes_flag([ ("dashed", self.is_hidden), ("error", self.has_error), ]),