Macro dominator_helpers::html_slot[][src]

macro_rules! html_slot {
    ($name:expr, $slot:expr, { $($rest:tt)* }) => { ... };
}
Expand description

Create an element type at a slot (useful for web components) e.g. this will create the “todo-input” element with its “slot” attribute set to “input” html_slot!(“todo-input”, “input”, { … }