pub fn slot(cx: Scope) -> HtmlElement<Slot>
Expand description
The <slot>
HTML 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.