Function moxie_dom::elements::slot[][src]

pub fn slot() -> SlotBuilder
Expand description

The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.

A function for creating a builder which will accept attributes and produce the element.