Expand description
This crate contains the macros for the yew-html-attributes crate.
Macros§
- use_
attributes - The proc macro that use the
yew_html_attribute::HasHtmlAttributes
trait to set and unset the attributes on the html element. It expect to be used on a struct that derive theyew::Properties
trait and theyew_html_attribute::HasHtmlAttributes
trait.
Attribute Macros§
- has_
html_ attributes - The attribute macro that add the fields to your props struct. It expect to be used on a struct that derive the
yew::Properties
trait and theyew_html_attribute::HasHtmlAttributes
trait.
Derive Macros§
- HasHtml
Attributes - Implements the HasHtmlAttributes trait for the given struct