Crate yew_html_attributes_macro_derive

Source
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 the yew::Properties trait and the yew_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 the yew_html_attribute::HasHtmlAttributes trait.

Derive Macros§

HasHtmlAttributes
Implements the HasHtmlAttributes trait for the given struct