Function sauron_core::html::attributes::attr [−][src]
pub fn attr<MSG, V: Into<Value>>(att: &'static str, v: V) -> Attribute<MSG>
Expand description
a utility function to convert simple value into attribute
pub fn attr<MSG, V: Into<Value>>(att: &'static str, v: V) -> Attribute<MSG>
a utility function to convert simple value into attribute