all repos — gomponents @ 47c4228ce91ed598481e0996df87ce2193748aa1

HTML components in pure Go

add helper for closedby attribute (on dialog tag)

Alin
commit

47c4228ce91ed598481e0996df87ce2193748aa1

parent

86940851969d4003dab94059cd55fc4e2d825011

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

changed files
M html/attributes.gohtml/attributes.go
@@ -20,6 +20,10 @@ func Checked() g.Node {
return g.Attr("checked") } +func ClosedBy(v string) g.Node { + return g.Attr("closedby", v) +} + func Controls() g.Node { return g.Attr("controls") }