2019-03-22 03:31:24 +00:00
|
|
|
// GENERATED BY gitlab.codemonkeysoftware.net/b/hatmill/internal/elementgen
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
package hatmill
|
|
|
|
|
2019-03-22 03:49:26 +00:00
|
|
|
func Html(attribs ...Attrib) func(children ...Term) *ParentElement {
|
2019-03-22 03:31:24 +00:00
|
|
|
return func(children ...Term) *ParentElement {
|
|
|
|
return &ParentElement{
|
|
|
|
EmptyElement: EmptyElement{
|
2019-03-22 03:49:26 +00:00
|
|
|
TagName: "html",
|
2019-03-22 03:31:24 +00:00
|
|
|
Attribs: attribs,
|
|
|
|
},
|
|
|
|
Children: children,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-22 03:49:26 +00:00
|
|
|
func Head(attribs ...Attrib) func(children ...Term) *ParentElement {
|
|
|
|
return func(children ...Term) *ParentElement {
|
|
|
|
return &ParentElement{
|
|
|
|
EmptyElement: EmptyElement{
|
|
|
|
TagName: "head",
|
|
|
|
Attribs: attribs,
|
|
|
|
},
|
|
|
|
Children: children,
|
|
|
|
}
|
2019-03-22 03:31:24 +00:00
|
|
|
}
|
|
|
|
}
|
2019-03-22 03:49:26 +00:00
|
|
|
func Body(attribs ...Attrib) func(children ...Term) *ParentElement {
|
2019-03-22 03:31:24 +00:00
|
|
|
return func(children ...Term) *ParentElement {
|
|
|
|
return &ParentElement{
|
|
|
|
EmptyElement: EmptyElement{
|
2019-03-22 03:49:26 +00:00
|
|
|
TagName: "body",
|
2019-03-22 03:31:24 +00:00
|
|
|
Attribs: attribs,
|
|
|
|
},
|
|
|
|
Children: children,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-22 03:49:26 +00:00
|
|
|
func Div(attribs ...Attrib) func(children ...Term) *ParentElement {
|
2019-03-22 03:31:24 +00:00
|
|
|
return func(children ...Term) *ParentElement {
|
|
|
|
return &ParentElement{
|
|
|
|
EmptyElement: EmptyElement{
|
2019-03-22 03:49:26 +00:00
|
|
|
TagName: "div",
|
|
|
|
Attribs: attribs,
|
|
|
|
},
|
|
|
|
Children: children,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
func Img(attribs ...Attrib) EmptyElement {
|
|
|
|
return EmptyElement{
|
|
|
|
TagName: "img",
|
|
|
|
Attribs: attribs,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
func Span(attribs ...Attrib) func(children ...Term) *ParentElement {
|
|
|
|
return func(children ...Term) *ParentElement {
|
|
|
|
return &ParentElement{
|
|
|
|
EmptyElement: EmptyElement{
|
|
|
|
TagName: "span",
|
2019-03-22 03:31:24 +00:00
|
|
|
Attribs: attribs,
|
|
|
|
},
|
|
|
|
Children: children,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|