Skip to main content

DataAttr

Type Alias DataAttr 

Source
pub type DataAttr = (String, Option<String>);
Expand description

A data-* attribute: its name (without data-) and value; None leaves it off that mark.