[][src]Function sauron::prelude::classes_flag

pub fn classes_flag<P, S, MSG>(
    pair: P
) -> Attribute<&'static str, &'static str, AttributeValue, Event, MSG> where
    P: AsRef<[(S, bool)]>,
    S: ToString
   classes_flag([
       ("dashed", self.is_hidden),
       ("error", self.has_error),
   ]),