Attr

Type Alias Attr 

Source
pub type Attr = Attribute;
Expand description

Aliased Type§

pub struct Attr {
    pub name: QualName,
    pub value: Tendril<UTF8>,
}

Fields§

§name: QualName

The name of the attribute (e.g. the class in <div class="test">)

§value: Tendril<UTF8>

The value of the attribute (e.g. the "test" in <div class="test">)