Packages

HTML templates → type-safe Gleam modules. Write familiar markup instead of nested function calls. No more bracket-counting nightmares.

Current section

Files

Jump to
ghtml include ghtml@types_IfNode.hrl
Raw

include/ghtml@types_IfNode.hrl

-record(if_node, {
condition :: binary(),
then_branch :: list(ghtml@types:node_()),
else_branch :: list(ghtml@types:node_()),
span :: ghtml@types:span()
}).