[][src]Function moxie_dom::elements::template

pub fn template() -> TemplateBuilder

The HTML Content Template (<template>) element is a mechanism for holding HTML that is not to be rendered immediately when a page is loaded but may be instantiated subsequently during runtime using JavaScript.

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

Environment Expectations

This function requires the following types to be visible to illicit::get and will panic otherwise: