pub trait PropAttribute<K, P>where
P: IntoProperty,{
type Output;
// Required method
fn prop(self, key: K, value: P) -> Self::Output;
}Expand description
Adds an attribute that modifies the DOM properties.
pub trait PropAttribute<K, P>where
P: IntoProperty,{
type Output;
// Required method
fn prop(self, key: K, value: P) -> Self::Output;
}Adds an attribute that modifies the DOM properties.