45 lines
978 B
Go
45 lines
978 B
Go
|
// GENERATED BY gitlab.codemonkeysoftware.net/b/hatmill/internal/elementgen
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package hatmill
|
||
|
|
||
|
func Div(attribs ...Attrib) func(children ...Term) *ParentElement {
|
||
|
return func(children ...Term) *ParentElement {
|
||
|
return &ParentElement{
|
||
|
EmptyElement: EmptyElement{
|
||
|
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",
|
||
|
Attribs: attribs,
|
||
|
},
|
||
|
Children: children,
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
func Html(attribs ...Attrib) func(children ...Term) *ParentElement {
|
||
|
return func(children ...Term) *ParentElement {
|
||
|
return &ParentElement{
|
||
|
EmptyElement: EmptyElement{
|
||
|
TagName: "html",
|
||
|
Attribs: attribs,
|
||
|
},
|
||
|
Children: children,
|
||
|
}
|
||
|
}
|
||
|
}
|