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_Element.hrl
Raw

include/ghtml@types_Element.hrl

-record(element, {
tag :: binary(),
attrs :: list(ghtml@types:attr()),
children :: list(ghtml@types:node_()),
span :: ghtml@types:span()
}).