Macro seed::address

source ·
macro_rules! address {
    ( $($part:expr),* $(,)* ) => { ... };
}
Expand description

Create macros exposed to the package that allow shortcuts for Dom elements. In the matching mattern below, we match the name we want to use with the name under the seed::dom_types::Tag enum. Eg the div! macro uses seed::dom_types::Tag::Div.