[][src]Function sauron::html::attributes::attr

pub fn attr<MSG, V>(
    att: &'static str,
    v: V
) -> Attribute<&'static str, &'static str, AttributeValue, Event, MSG> where
    V: Into<Value>, 

a utility function to convert simple value into attribute