all repos — gomponents @ 05d56605492cb89bebd80421a6d2afaa947344f0

HTML components in pure Go

Add missing 'hidden' attribute (#224)

Guy-Laurent Subri
commit

05d56605492cb89bebd80421a6d2afaa947344f0

parent

73373c8a290e8f16e0ac59b5aa082ca9a21cec98

1 file changed, 4 insertions(+), 0 deletions(-)

changed files
M html/attributes.gohtml/attributes.go
@@ -145,6 +145,10 @@ func Height(v string) g.Node {
return g.Attr("height", v) } +func Hidden(v string) g.Node { + return g.Attr("hidden", v) +} + func Href(v string) g.Node { return g.Attr("href", v) }