// GENERATED BY gitlab.codemonkeysoftware.net/b/hatmill/internal/codegen // DO NOT EDIT! package html5 import "gitlab.codemonkeysoftware.net/b/hatmill" // Body creates a element. func Body(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement { return func(children ...hatmill.Term) hatmill.ParentElement { return hatmill.ParentElement{ VoidElement: hatmill.VoidElement{ TagName: "body", Attribs: attribs, }, Children: children, } } } // Div creates a
element. func Div(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement { return func(children ...hatmill.Term) hatmill.ParentElement { return hatmill.ParentElement{ VoidElement: hatmill.VoidElement{ TagName: "div", Attribs: attribs, }, Children: children, } } } // Head creates a element. func Head(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement { return func(children ...hatmill.Term) hatmill.ParentElement { return hatmill.ParentElement{ VoidElement: hatmill.VoidElement{ TagName: "head", Attribs: attribs, }, Children: children, } } } // Html creates a element. func Html(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement { return func(children ...hatmill.Term) hatmill.ParentElement { return hatmill.ParentElement{ VoidElement: hatmill.VoidElement{ TagName: "html", Attribs: attribs, }, Children: children, } } } // Img creates a element. func Img(attribs ...hatmill.Attrib) hatmill.VoidElement { return hatmill.VoidElement{ TagName: "img", Attribs: attribs, } } // Li creates a
  • element. func Li(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement { return func(children ...hatmill.Term) hatmill.ParentElement { return hatmill.ParentElement{ VoidElement: hatmill.VoidElement{ TagName: "li", Attribs: attribs, }, Children: children, } } } // Span creates a element. func Span(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement { return func(children ...hatmill.Term) hatmill.ParentElement { return hatmill.ParentElement{ VoidElement: hatmill.VoidElement{ TagName: "span", Attribs: attribs, }, Children: children, } } } // Title creates a element. func Title(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement { return func(children ...hatmill.Term) hatmill.ParentElement { return hatmill.ParentElement{ VoidElement: hatmill.VoidElement{ TagName: "title", Attribs: attribs, }, Children: children, } } } // Ul creates a <ul> element. func Ul(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement { return func(children ...hatmill.Term) hatmill.ParentElement { return hatmill.ParentElement{ VoidElement: hatmill.VoidElement{ TagName: "ul", Attribs: attribs, }, Children: children, } } } // Disabled creates a "disabled" attribute func Disabled() hatmill.Attrib { return hatmill.Attrib{ Key: "disabled", } } // Id creates a "id" attribute func Id(value string) hatmill.Attrib { return hatmill.Attrib{ Key: "id", Value: value, } } // Src creates a "src" attribute func Src(value string) hatmill.Attrib { return hatmill.Attrib{ Key: "src", Value: value, } }