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

pub fn template() -> TemplateBuilder
Expand description

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.