Add LabelAttr and List attributes (#175) Fixes #168 and fixes #169.
1 file changed, 8 insertions(+), 0 deletions(-)
changed files
M html/attributes.go → html/attributes.go
@@ -145,8 +145,16 @@ func Integrity(v string) g.Node { return g.Attr("integrity", v) } +func LabelAttr(v string) g.Node { + return g.Attr("label", v) +} + func Lang(v string) g.Node { return g.Attr("lang", v) +} + +func List(v string) g.Node { + return g.Attr("list", v) } func Loading(v string) g.Node {