View Source Beacon.Template (Beacon v0.3.3)

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

The AST representation of a Phoenix.LiveView.Rendered.t/0 struct.

t()

Types

ast()

@type ast() :: Macro.t()

The AST representation of a Phoenix.LiveView.Rendered.t/0 struct.

t()

@type t() :: Phoenix.LiveView.Rendered.t() | ast()