From 05d56605492cb89bebd80421a6d2afaa947344f0 Mon Sep 17 00:00:00 2001 From: Guy-Laurent Subri Date: Thu, 10 Oct 2024 13:31:17 +0200 Subject: Add missing 'hidden' attribute (#224) --- html/attributes.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'html/attributes.go') 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) } -- cgit 1.4.1