Skip to main content

get_attribute

Function get_attribute 

Source
pub fn get_attribute(element: &str, name: &str) -> Option<String>
Expand description

Returns the named attribute value from an element when present.