View Source Beacon.Template (Beacon v0.2.2)
Template for layouts, pages, and any other resource that display HTML/HEEx.
Templates are defined as Phoenix.LiveView.Rendered structs, which holds nested static literal strings and also dynamic content for the LiveView engine.
Template engines that do not support dynamic content can make use of the :static
field to store its contents.
Summary
Types
@type ast() :: Macro.t()
The AST representation of a Phoenix.LiveView.Rendered.t/0
struct.
@type t() :: Phoenix.LiveView.Rendered.t() | ast()