Trait leptos_dom::IntoAttribute
source · pub trait IntoAttribute {
fn into_attribute(self, cx: Scope) -> Attribute;
}
Expand description
Converts some type into an Attribute.
This is implemented by default for Rust primitive and string types.
Required Methods§
sourcefn into_attribute(self, cx: Scope) -> Attribute
fn into_attribute(self, cx: Scope) -> Attribute
Converts the object into an Attribute.