Function mt_dom::attr [−][src]
pub fn attr<NS, ATT, VAL, EVENT>(
name: ATT,
value: VAL
) -> Attribute<NS, ATT, VAL, EVENT> where
NS: PartialEq + Clone + Debug,
ATT: PartialEq + Clone + Debug,
VAL: PartialEq + Clone + Debug,
EVENT: PartialEq + Clone + Debug,
Expand description
Create an attribute