Add ColSpan and RowSpan attributes (#125)
1 file changed, 8 insertions(+), 0 deletions(-)
changed files
M html/attributes.go → html/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 {