Skip to main content

attribute_to_property

Function attribute_to_property 

Source
pub fn attribute_to_property(name: &str) -> Option<&'static str>
Expand description

Map an HTML attribute to its camelCase property name.

Inverse of property_to_attribute.