WIP update deps, sql builder instead of jet
This commit is contained in:
44
vendor/maragu.dev/gomponents/html/attributes.go
vendored
44
vendor/maragu.dev/gomponents/html/attributes.go
vendored
@@ -40,6 +40,10 @@ func Disabled() g.Node {
|
||||
return g.Attr("disabled")
|
||||
}
|
||||
|
||||
func Download(v string) g.Node {
|
||||
return g.Attr("download", v)
|
||||
}
|
||||
|
||||
func Draggable(v string) g.Node {
|
||||
return g.Attr("draggable", v)
|
||||
}
|
||||
@@ -133,14 +137,38 @@ func DataAttr(name, v string) g.Node {
|
||||
return Data(name, v)
|
||||
}
|
||||
|
||||
func SlotAttr(v string) g.Node {
|
||||
return g.Attr("slot", v)
|
||||
}
|
||||
|
||||
func For(v string) g.Node {
|
||||
return g.Attr("for", v)
|
||||
}
|
||||
|
||||
func FormAction(v string) g.Node {
|
||||
return g.Attr("formaction", v)
|
||||
}
|
||||
|
||||
func FormAttr(v string) g.Node {
|
||||
return g.Attr("form", v)
|
||||
}
|
||||
|
||||
func FormEncType(v string) g.Node {
|
||||
return g.Attr("formenctype", v)
|
||||
}
|
||||
|
||||
func FormMethod(v string) g.Node {
|
||||
return g.Attr("formmethod", v)
|
||||
}
|
||||
|
||||
func FormNoValidate() g.Node {
|
||||
return g.Attr("formnovalidate")
|
||||
}
|
||||
|
||||
func FormTarget(v string) g.Node {
|
||||
return g.Attr("formtarget", v)
|
||||
}
|
||||
|
||||
func Height(v string) g.Node {
|
||||
return g.Attr("height", v)
|
||||
}
|
||||
@@ -209,6 +237,18 @@ func Placeholder(v string) g.Node {
|
||||
return g.Attr("placeholder", v)
|
||||
}
|
||||
|
||||
func Popover(value ...string) g.Node {
|
||||
return g.Attr("popover", value...)
|
||||
}
|
||||
|
||||
func PopoverTarget(v string) g.Node {
|
||||
return g.Attr("popovertarget", v)
|
||||
}
|
||||
|
||||
func PopoverTargetAction(v string) g.Node {
|
||||
return g.Attr("popovertargetaction", v)
|
||||
}
|
||||
|
||||
func Poster(v string) g.Node {
|
||||
return g.Attr("poster", v)
|
||||
}
|
||||
@@ -217,6 +257,10 @@ func Preload(v string) g.Node {
|
||||
return g.Attr("preload", v)
|
||||
}
|
||||
|
||||
func ReferrerPolicy(v string) g.Node {
|
||||
return g.Attr("referrerpolicy", v)
|
||||
}
|
||||
|
||||
func Rel(v string) g.Node {
|
||||
return g.Attr("rel", v)
|
||||
}
|
||||
|
||||
@@ -264,6 +264,10 @@ func Select(children ...g.Node) g.Node {
|
||||
return g.El("select", children...)
|
||||
}
|
||||
|
||||
func SlotEl(children ...g.Node) g.Node {
|
||||
return g.El("slot", children...)
|
||||
}
|
||||
|
||||
func Source(children ...g.Node) g.Node {
|
||||
return g.El("source", children...)
|
||||
}
|
||||
@@ -296,6 +300,10 @@ func Td(children ...g.Node) g.Node {
|
||||
return g.El("td", children...)
|
||||
}
|
||||
|
||||
func Template(children ...g.Node) g.Node {
|
||||
return g.El("template", children...)
|
||||
}
|
||||
|
||||
func Textarea(children ...g.Node) g.Node {
|
||||
return g.El("textarea", children...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user