1
0

Add EncType html attribute (#109)

This commit is contained in:
Markus Wüstenberg 2022-09-29 12:46:36 +02:00 committed by GitHub
parent f387a71230
commit 32ad318ce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -217,3 +217,7 @@ func Value(v string) g.Node {
func Width(v string) g.Node {
return g.Attr("width", v)
}
func EncType(v string) g.Node {
return g.Attr("enctype", v)
}

View File

@ -45,6 +45,7 @@ func TestSimpleAttributes(t *testing.T) {
"class": Class,
"cols": Cols,
"content": Content,
"enctype": EncType,
"for": For,
"form": FormAttr,
"height": Height,