all repos — gomponents @ ba5a989334bba5126603ea95fe6602de9a57462f

HTML components in pure Go

Add `Scope` attribute (#249) https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#scope

Alan Pearce
commit

ba5a989334bba5126603ea95fe6602de9a57462f

parent

1e222b67fe5d47aba02827c6746c49a11ba3c743

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

changed files
M html/attributes.gohtml/attributes.go
@@ -277,6 +277,10 @@ func RowSpan(v string) g.Node {
return g.Attr("rowspan", v) } +func Scope(v string) g.Node { + return g.Attr("scope", v) +} + func Src(v string) g.Node { return g.Attr("src", v) }