all repos — gomponents @ e11dcad5185a1fb35a62076d4357c697da108ad7

HTML components in pure Go

Add ColSpan and RowSpan attributes (#125)

Markus Wüstenberg
commit

e11dcad5185a1fb35a62076d4357c697da108ad7

parent

866b767b089fb64494edfa7a33c1e15753b3a848

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

changed files
M html/attributes.gohtml/attributes.go
@@ -93,6 +93,10 @@ func Cols(v string) g.Node {
return g.Attr("cols", v) } +func ColSpan(v string) g.Node { + return g.Attr("colspan", v) +} + func Content(v string) g.Node { return g.Attr("content", v) }
@@ -180,6 +184,10 @@ }
func Rows(v string) g.Node { return g.Attr("rows", v) +} + +func RowSpan(v string) g.Node { + return g.Attr("rowspan", v) } func Src(v string) g.Node {