about summary refs log tree commit diff stats
path: root/html/attributes.go
diff options
context:
space:
mode:
Diffstat (limited to 'html/attributes.go')
-rw-r--r--html/attributes.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/html/attributes.go b/html/attributes.go
index 7748e0e..2e9a05a 100644
--- a/html/attributes.go
+++ b/html/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)
 }