Hologram.Template.Builder (hologram v0.1.0)
Link to this section Summary
Link to this section Functions
Link to this function
build(module)
Specs
build(module()) :: [Hologram.Typespecs.vdom_node()]
Returns module's VDOM template.
Examples
iex> build(MyApp.Homepage)
[
%ElementNode{tag: "h1", children: [%TextNode{content: "Homepage Title"}]},
%TextNode{content: "Footer content"}
]
Link to this function